mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
fix: production deployment
This commit is contained in:
parent
4cfa89ef21
commit
c3ddf11bd8
1 changed files with 5 additions and 3 deletions
8
.github/workflows/production.yml
vendored
8
.github/workflows/production.yml
vendored
|
|
@ -5,6 +5,10 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
|
|
@ -25,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Set Fly secrets
|
||||
run: |
|
||||
flyctl secrets set \
|
||||
flyctl secrets --access-token "$FLY_API_TOKEN" set \
|
||||
TOKEN_SIGNING_SECRET="$TOKEN_SIGNING_SECRET" \
|
||||
ADMIN_EMAIL="$ADMIN_EMAIL" \
|
||||
SPAZIO_SOLAZZO_EMAIL="$SPAZIO_SOLAZZO_EMAIL" \
|
||||
|
|
@ -41,5 +45,3 @@ jobs:
|
|||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
||||
|
||||
- run: flyctl deploy --remote-only
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue