added maintenance mode variable

This commit is contained in:
Yannic Kilcher
2023-02-05 01:34:34 +01:00
parent 263edbaefd
commit 26f3fd4453
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -61,6 +61,7 @@ jobs:
WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN:
${{ vars.WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN }}
LOGURU_LEVEL: ${{ vars.LOGURU_LEVEL }}
MAINTENANCE_MODE: ${{ vars.MAINTENANCE_MODE }}
steps:
- name: Checkout
uses: actions/checkout@v2
+2
View File
@@ -205,6 +205,8 @@
NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN:
"{{ lookup('ansible.builtin.env',
'WEB_NEXT_PUBLIC_ENABLE_EMAIL_SIGNIN') }}"
MAINTENANCE_MODE:
"{{ lookup('ansible.builtin.env', 'MAINTENANCE_MODE') }}"
ports:
- "{{ website_port }}:3000"
command: bash wait-for-postgres.sh node server.js