Skip to content

Commit 6bbc79e

Browse files
chore(deps): Update actions for deployment (#168)
* chore(deps): Update actions for deployment
1 parent 28a5cab commit 6bbc79e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/static.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
should_deploy: ${{ steps.should-publish.outputs.should_deploy }}
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
- name: Should publish
3333
id: should-publish
3434
run: echo "should_deploy=$([[ -d "content/posts/unpublished" ]] && echo false || echo true)" >> "$GITHUB_OUTPUT"
@@ -43,8 +43,8 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: Checkout
46-
uses: actions/checkout@v3
47-
- uses: actions/setup-node@v3
46+
uses: actions/checkout@v4
47+
- uses: actions/setup-node@v4
4848
with:
4949
node-version: 20
5050
- run: npm ci
@@ -54,12 +54,12 @@ jobs:
5454
npm run build -- --configuration=production --base-href=/
5555
cp dist/blog/browser/404/index.html dist/blog/browser/404.html
5656
- name: Setup Pages
57-
uses: actions/configure-pages@v3
57+
uses: actions/configure-pages@v5
5858
- name: Upload artifact
59-
uses: actions/upload-pages-artifact@v2
59+
uses: actions/upload-pages-artifact@v3
6060
with:
6161
# Upload entire repository
6262
path: './dist/blog/browser'
6363
- name: Deploy to GitHub Pages
6464
id: deployment
65-
uses: actions/deploy-pages@v2
65+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)