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 879de68 commit b895229
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@ jobs:
with:
node-version: '18'

# For some reason, the default registry MAY FAIL WITH ECONNRESET on GitHub Actions
- name: Setup Registry
continue-on-error: true
- name: Npm Install
run: |
cd worker
npm install --registry https://registry.npm.taobao.org
npm install [email protected] --registry https://registry.npm.taobao.org
- name: Log
run: |
cat `find /home/runner/.npm/_logs/`
npm install
- name: Deploy Workers
uses: cloudflare/[email protected]
Expand All @@ -43,11 +37,9 @@ jobs:
with:
node-version: '18'

# For some reason, the default registry MAY FAIL WITH ECONNRESET on GitHub Actions
- name: Setup Registry
- name: Npm Install
run: |
npm install --registry https://registry.npm.taobao.org
npm install [email protected] --registry https://registry.npm.taobao.org
npm install
- name: Deploy Pages
uses: cloudflare/[email protected]
Expand Down

0 comments on commit b895229

Please sign in to comment.