Skip to content

Commit 0933fc4

Browse files
committed
changed version of upload-pages-artifact action
1 parent f36ba2b commit 0933fc4

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
runs-on: ubuntu-latest
3030
steps:
3131
- name: Use Node.js
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: '18'
3535
- name: Checkout
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
- name: Setup Pages
3838
id: pages
39-
uses: actions/configure-pages@v3
39+
uses: actions/configure-pages@v5
4040
- name: Build
4141
env:
4242
# For maximum backward compatibility with Hugo modules
@@ -46,7 +46,7 @@ jobs:
4646
npm install
4747
npm run build
4848
- name: Upload artifact
49-
uses: actions/upload-pages-artifact@v3
49+
uses: actions/upload-pages-artifact@v3.0.1
5050
with:
5151
path: ./public
5252

.github/workflows/preview.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,19 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Use Node.js
23-
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3.8.2
23+
uses: actions/setup-node@v4
2424
with:
2525
node-version: '18'
2626
- name: Checkout
27-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
27+
uses: actions/checkout@v4
2828
with:
2929
ref: ${{ github.event.pull_request.head.sha }}
3030
- name: Build
3131
run: |
3232
npm install
3333
npm run build
3434
- name: Upload artifact
35-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
35+
uses: actions/upload-artifact@v4
3636
with:
3737
name: 'site'
3838
path: ./public
@@ -49,13 +49,13 @@ jobs:
4949
# checkout required for pr-preview-action to succeed,
5050
# while the content will not be used
5151
- name: Checkout
52-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
52+
uses: actions/checkout@v4
5353
- name: Download the preview page
54-
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
54+
uses: actions/download-artifact@v4
5555
with:
5656
name: 'site'
5757
path: ./public
58-
- uses: rossjrw/pr-preview-action@4668d7cb417ce7067b0b59bc152b1ae1513010de # v1.4.6
58+
- uses: rossjrw/pr-preview-action@v1
5959
id: deployment
6060
with:
6161
source-dir: ./public
@@ -75,8 +75,8 @@ jobs:
7575
# checkout required for pr-preview-action to succeed,
7676
# while the content will not be used
7777
- name: Checkout
78-
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
79-
- uses: rossjrw/pr-preview-action@4668d7cb417ce7067b0b59bc152b1ae1513010de # v1.4.6
78+
uses: actions/checkout@v4
79+
- uses: rossjrw/pr-preview-action@v1
8080
id: deployment
8181
with:
8282
preview-branch: previews

0 commit comments

Comments
 (0)