Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lyc8503 authored Nov 8, 2023
1 parent 1e6d183 commit c4eeb2d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
- name: Setup Registry
run: |
npm config set registry https://registry.npm.taobao.org
cd worker
npm install
npm install [email protected]
- name: Deploy Workers
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.API_TOKEN }}
preCommands: |
npm install --loglevel verbose
command: deploy
workingDirectory: worker

Expand All @@ -43,12 +44,13 @@ jobs:
- name: Setup Registry
run: |
npm config set registry https://registry.npm.taobao.org
npm install
npm install [email protected]
- name: Deploy Pages
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.API_TOKEN }}
preCommands: |
npm install
npx @cloudflare/next-on-pages
command: pages deploy .vercel/output/static

0 comments on commit c4eeb2d

Please sign in to comment.