Skip to content

Commit

Permalink
fixed working dir fr
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwillmcleod committed Feb 4, 2024
1 parent f006766 commit bde557f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd strapi
- run: flyctl deploy --remote-only --config fly.production.toml --dockerfile Dockerfile.production
- name: Fly Deploy
working-directory: ./strapi
run: flyctl deploy --remote-only --config fly.production.toml --dockerfile Dockerfile.production
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STRAPI }}
deploy-frontend:
Expand All @@ -22,8 +23,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd frontend
- run: flyctl deploy --remote-only --config fly.production.toml --dockerfile Dockerfile.production
- name: Fly Deploy
working-directory: ./frontend
run: flyctl deploy --remote-only --config fly.production.toml --dockerfile Dockerfile.production
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_FRONTEND }}
deploy-storage:
Expand All @@ -32,7 +34,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd storage
- run: flyctl deploy --remote-only --config fly.production.toml --dockerfile Dockerfile.production
- name: Fly Deploy
working-directory: ./frontend
run: flyctl deploy --remote-only --config fly.production.toml --dockerfile Dockerfile.production
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STORAGE }}
12 changes: 9 additions & 3 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ jobs:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd strapi
- run: flyctl deploy --remote-only --config fly.staging.toml --dockerfile Dockerfile.staging
- name: Fly Deploy
working-directory: ./strapi
run: flyctl deploy --remote-only --config fly.staging.toml --dockerfile Dockerfile.staging
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STRAPI_STAGING }}
deploy-frontend:
Expand All @@ -24,7 +26,9 @@ jobs:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd frontend
- run: flyctl deploy --remote-only --config fly.staging.toml --dockerfile Dockerfile.staging
- name: Fly Deploy
working-directory: ./frontend
run: flyctl deploy --remote-only --config fly.staging.toml --dockerfile Dockerfile.staging
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_FRONTEND_STAGING }}
deploy-storage:
Expand All @@ -34,6 +38,8 @@ jobs:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: cd storage
- run: flyctl deploy --remote-only --config fly.staging.toml --dockerfile Dockerfile.staging
- name: Fly Deploy
working-directory: ./storage
run: flyctl deploy --remote-only --config fly.staging.toml --dockerfile Dockerfile.staging
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN_STORAGE_STAGING }}

0 comments on commit bde557f

Please sign in to comment.