Skip to content

Commit

Permalink
Fix github actions deploy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
WHL99 committed Jun 1, 2024
1 parent 1f7d306 commit aac799a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jobs:
contents: write
runs-on: ubuntu-latest

concurrency:
group: gh-pages-${{ github.ref }}
cancel-in-progress: true

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
Expand All @@ -30,6 +34,8 @@ jobs:
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Clean old files
run: rm -rf node_modules dist

- name: Deploy with gh-pages
run: |
Expand Down

0 comments on commit aac799a

Please sign in to comment.