diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 99e55f5..14afa22 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,7 +7,6 @@ on: env: GH_REPOSITORY: ghcr.io/${{ github.repository }} - FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} permissions: contents: read @@ -90,12 +89,14 @@ jobs: build-args: | "VERSION=${{ github.ref_name }}" - - name: Install Fly - uses: superfly/flyctl-actions/setup-flyctl@master - with: - version: 1.5 + - name: Install Fly CLI + run: | + curl -L https://fly.io/install.sh | sh + echo "/home/runner/.fly/bin" >> $GITHUB_PATH - name: Deploy app - run: flyctl deploy + run: fly deploy + env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} \ No newline at end of file