Skip to content

Commit feb466a

Browse files
committed
fix staging fly deploy config
1 parent 553fcb2 commit feb466a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/fly-deploy-staging.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ jobs:
1616
uses: actions/checkout@v4
1717
with:
1818
submodules: 'true'
19+
ref: v3
1920

2021
- name: Use flyctl
2122
uses: superfly/flyctl-actions/setup-flyctl@master
2223

2324
- name: Deploy to fly.io
24-
run: flyctl deploy --local-only
25+
run: |
26+
cd $GITHUB_WORKSPACE/staging
27+
flyctl deploy --local-only
2528
env:
26-
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
27-
working-directory: ./staging
29+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}

0 commit comments

Comments
 (0)