Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrieleLabanca authored Jun 18, 2024
1 parent e57d408 commit 67ff5ca
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
- run: npm run build --if-present
- run: npm run deploy
- name: Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: ./artifact
path: './artifact'

deploy:
environment:
Expand All @@ -39,18 +39,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: ./artifact
path: './artifact'
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './artifact'
- name: Deploy to GitHub Pages
id: deployment
Expand Down

0 comments on commit 67ff5ca

Please sign in to comment.