Skip to content

Commit 51b6518

Browse files
committed
chore(deploy): fix GitHub actions
1 parent df5280d commit 51b6518

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/static.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Simple workflow for deploying static content to GitHub Pages
21
name: Deploy static content to Pages
32

43
on:
@@ -21,31 +20,32 @@ concurrency:
2120
cancel-in-progress: true
2221

2322
jobs:
24-
# Single deploy job since we're just deploying
2523
deploy:
2624
environment:
2725
name: github-pages
2826
url: ${{ steps.deployment.outputs.page_url }}
2927
runs-on: ubuntu-latest
3028
steps:
31-
- name: Checkout
29+
- name: Checkout repository
3230
uses: actions/checkout@v4
31+
3332
- name: Set up Node
3433
uses: actions/setup-node@v3
3534
with:
3635
node-version: 18
3736
cache: 'npm'
37+
3838
- name: Install dependencies
3939
run: npm install
40-
- name: Build
40+
41+
- name: Build the site
4142
run: npm run build
42-
- name: Setup Pages
43-
uses: actions/configure-pages@v3
44-
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v2
43+
44+
- name: Upload artifact for Pages
45+
uses: actions/upload-pages-artifact@v3
4646
with:
47-
# Upload dist repository
4847
path: './dist'
48+
4949
- name: Deploy to GitHub Pages
5050
id: deployment
51-
uses: actions/deploy-pages@v2
51+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)