Skip to content

Commit

Permalink
why
Browse files Browse the repository at this point in the history
  • Loading branch information
vickkie committed Feb 28, 2024
1 parent 08a48ce commit e0f2c6f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@ jobs:
node-version: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4 # Update to version 4
with:
ref: ${{ github.head_ref }}

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v2 # Update to version 2
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm install
npx webpack
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4 # Update to version 4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.WORK_DEPLOY }}
publish_dir: ./dist

0 comments on commit e0f2c6f

Please sign in to comment.