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: on:
push: push:
branches: [master] branches: [backend, frontend]
pull_request: pull_request:
branches: [master] branches: [master]
workflow_dispatch: workflow_dispatch:

View File

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

View File

@ -1,51 +1,39 @@
<!DOCTYPE html> <!DOCTYPE html>
<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 <head>
style=" <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-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
font-size: 14px; font-size: 14px;
font-style: normal; font-style: normal;
margin: 0; margin: 0;
" ">
> <table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<table <tr>
width="100%" <td align="center">
height="100%" <table height="100%" cellpadding="20" cellspacing="0" border="0" style="max-width: 540px">
cellpadding="0" <tr>
cellspacing="0" <td align="left" width="540">
border="0" {% block welcome %} Hello, {% endblock %}
> </td>
<tr> </tr>
<td align="center"> <tr>
<table <td align="left" width="540">
height="100%" {% block content %} Example content {% endblock %}
cellpadding="20" </td>
cellspacing="0" </tr>
border="0" <tr>
style="max-width: 540px" <td align="center" width="540">The Todo team</td>
> </tr>
<tr> </table>
<td align="left" width="540"> </td>
{% block welcome %} Hello, {% endblock %} </tr>
</td> </table>
</tr> </body>
<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> </html>