Skip to content

Commit

Permalink
Install declared wrangler version
Browse files Browse the repository at this point in the history
  • Loading branch information
aquarhead committed Sep 26, 2024
1 parent 3de4307 commit ba08092
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/golive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('Cargo.lock') }}-${{ hashFiles('package-lock.json') }}
restore-keys: ${{ runner.os }}-
- uses: dtolnay/rust-toolchain@stable
- uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
- name: Deploy to workers
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_TOKEN }}
run: |
npm install
npx wranger deploy

0 comments on commit ba08092

Please sign in to comment.