Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zacharia2 committed Apr 8, 2024
1 parent d9977ae commit 7d9bc2e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ permissions:

jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected].0
- uses: actions/checkout@v4.1.2
- uses: actions/[email protected].2
with:
node-version: '16'
node-version: '20'

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4.0.2
with:
path: |
**/node_modules
Expand All @@ -46,10 +46,10 @@ jobs:
run: npx workbox injectManifest workbox-config.js

- name: Upload artifact
uses: actions/upload-pages-artifact@v2.0.0
uses: actions/upload-pages-artifact@v3.0.1
with:
# Upload entire repository
path: ./public-dist
- name: 部署到GitHub页面
id: deployment
uses: actions/deploy-pages@v3.0.0
uses: actions/deploy-pages@v4.0.5

0 comments on commit 7d9bc2e

Please sign in to comment.