Skip to content

Commit a1cbde8

Browse files
committed
Fixed incorrect action
1 parent fdfc484 commit a1cbde8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ jobs:
5151
needs: [check-requirements, build-image]
5252
steps:
5353
- uses: actions/checkout@v3
54-
- uses: unionai-oss/flytectl-setup-action@master
54+
- uses: jmoll/setup-flyctl@1.1.1
5555
- name: Parse API Version
5656
run: echo "API_VERSION=$(echo $GITHUB_REF | awk -F '/' '{print $NF}' | cut -c 2-)" >> $GITHUB_ENV
5757
- name: Deploy API on Fly.io
58-
run: flyctl deploy --app steamcmd --image steamcmd/api:${{ env.API_VERSION }} -e VERSION=${{ env.API_VERSION }}
58+
run: flyctl deploy --app steamcmd --image steamcmd/api:${{ env.API_VERSION }} -e VERSION=${{ env.API_VERSION }}
59+
env:
60+
FLY_API_TOKEN: ${{ secrets.FLY_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)