Skip to content

Commit

Permalink
configured tokens for prod and staging
Browse files Browse the repository at this point in the history
  • Loading branch information
nroh555 committed Jun 9, 2024
1 parent eb4519c commit 56fe118
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only --config fly.staging.toml --build-secret VITE_API_URL=${{ secrets.VITE_API_URL }} --build-secret VITE_STRAPI_URL=${{ secrets.VITE_STRAPI_URL }} --build-secret VITE_CLERK_PUBLISHABLE_KEY=${{ secrets.VITE_CLERK_PUBLISHABLE_KEY }}
- run: flyctl deploy --remote-only --config fly.staging.toml --build-secret VITE_API_URL=${{ secrets.VITE_API_PRODUCTION_URL }} --build-secret VITE_STRAPI_URL=${{ secrets.VITE_STRAPI_PRODUCTION_URL }} --build-secret VITE_CLERK_PUBLISHABLE_KEY=${{ secrets.VITE_CLERK_PUBLISHABLE_KEY }}
working-directory: ./web
env:
FLY_API_TOKEN: ${{ secrets.FLY_PRODUCTION_API_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion strapi/fly.production.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'wdcc-auis-strapi-production'
app = 'wdcc-auis-strapi'
primary_region = 'syd'

[build]
Expand Down

0 comments on commit 56fe118

Please sign in to comment.