feat: add Forgejo workflow for native beta deployment to EC2
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 27s
All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 27s
This commit is contained in:
parent
af518b6573
commit
39753e68c4
1 changed files with 3 additions and 0 deletions
|
|
@ -120,6 +120,9 @@ jobs:
|
||||||
echo "DB_PORT=5432" >> .env.beta
|
echo "DB_PORT=5432" >> .env.beta
|
||||||
|
|
||||||
# ── 5. Run Database Migrations & Collect Static Files ──────────
|
# ── 5. Run Database Migrations & Collect Static Files ──────────
|
||||||
|
set -a
|
||||||
|
. ./.env.beta
|
||||||
|
set +a
|
||||||
./venv/bin/python manage.py migrate --database=default --noinput
|
./venv/bin/python manage.py migrate --database=default --noinput
|
||||||
./venv/bin/python manage.py collectstatic --noinput
|
./venv/bin/python manage.py collectstatic --noinput
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue