Skip to content

Commit d370899

Browse files
Update deploy action
1 parent 5f1e09a commit d370899

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
node-version: 18
2727

2828
- name: Install dependencies
29-
run: npm install
29+
run: npm ci
3030

3131
- name: Build website
3232
run: npm run build
3333

34-
- name: Upload artifact
35-
uses: actions/upload-pages-artifact@v2
34+
- name: Upload website artifact
35+
uses: actions/upload-pages-artifact@v3
3636
with:
3737
path: ./_site
3838

@@ -43,6 +43,6 @@ jobs:
4343
name: github-pages
4444
url: ${{ steps.deployment.outputs.page_url }}
4545
steps:
46-
- name: Deploy
46+
- name: Deploy to GitHub Pages
4747
id: deployment
48-
uses: actions/deploy-pages@v2
48+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)