Skip to content

Commit

Permalink
update gh-pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVolland authored Jan 10, 2024
1 parent 5bc4dcb commit 27b406d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '16.x'
node-version: '20.x'
- name: Build application
run: |
npm ci
npm run build
env:
CI: true
- name: Deploy to GitHubPages
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4
if: github.ref == 'refs/heads/master'
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages # The branch the action should deploy to.
folder: dist # The folder the action should deploy.:
branch: gh-pages
folder: dist

0 comments on commit 27b406d

Please sign in to comment.