Fix(backend): Updated Github CI

This commit is contained in:
minhtrannhat 2023-07-14 15:58:58 -04:00
parent 6859f0c0f2
commit eab8670780
Signed by: minhtrannhat
GPG Key ID: E13CFA85C53F8062
3 changed files with 33 additions and 45 deletions

View File

@ -2,7 +2,7 @@ name: CI
on:
push:
branches: [master]
branches: [backend, frontend]
pull_request:
branches: [master]
workflow_dispatch:

View File

@ -109,7 +109,7 @@ def recreate_db() -> None:
f"CREATE DATABASE {db_url.path.removeprefix('/')}",
],
)
call(
call( # nosec
[
"psql",
"-U",

View File

@ -1,51 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<title>Todo - email</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body
style="
<head>
<title>Todo - email</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body style="
font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
margin: 0;
"
>
<table
width="100%"
height="100%"
cellpadding="0"
cellspacing="0"
border="0"
>
<tr>
<td align="center">
<table
height="100%"
cellpadding="20"
cellspacing="0"
border="0"
style="max-width: 540px"
>
<tr>
<td align="left" width="540">
{% block welcome %} Hello, {% endblock %}
</td>
</tr>
<tr>
<td align="left" width="540">
{% block content %} Example content {% endblock %}
</td>
</tr>
<tr>
<td align="center" width="540">The Todo team</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
">
<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td align="center">
<table height="100%" cellpadding="20" cellspacing="0" border="0" style="max-width: 540px">
<tr>
<td align="left" width="540">
{% block welcome %} Hello, {% endblock %}
</td>
</tr>
<tr>
<td align="left" width="540">
{% block content %} Example content {% endblock %}
</td>
</tr>
<tr>
<td align="center" width="540">The Todo team</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>