Skip to content

Commit e02e487

Browse files
committed
Update GH action versions and Hugo version
Signed-off-by: Marc Duiker <[email protected]>
1 parent 871465f commit e02e487

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

.github/workflows/website-root.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
HUGO_ENV: production
2626
steps:
2727
- name: Checkout docs repo
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
submodules: true
3131
- name: Setup Node
32-
uses: actions/setup-node@v2
32+
uses: actions/setup-node@v4
3333
with:
34-
node-version: '14'
34+
node-version: '18'
3535
- name: Setup Hugo
36-
uses: peaceiris/actions-hugo@v2.5.0
36+
uses: peaceiris/actions-hugo@v3.0.0
3737
with:
38-
hugo-version: 0.102.3
38+
hugo-version: 0.147.9
3939
extended: true
4040
- name: Setup Docsy
4141
run: |
@@ -45,7 +45,6 @@ jobs:
4545
sudo npm install -D --save postcss-cli
4646
- name: Build Hugo Website
4747
run: |
48-
cd daprdocs
4948
git config --global --add safe.directory /github/workspace
5049
if [ $GITHUB_EVENT_NAME == 'pull_request' ]; then
5150
STAGING_URL="https://${SWA_BASE}-${{github.event.number}}.westus2.azurestaticapps.net/"
@@ -93,7 +92,7 @@ jobs:
9392
ALGOLIA_INDEX_NAME: daprdocs
9493
steps:
9594
- name: Checkout docs repo
96-
uses: actions/checkout@v2
95+
uses: actions/checkout@v4
9796
with:
9897
submodules: false
9998
- name: Download Hugo artifacts

.github/workflows/website-v1-15.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
name: Build and Deploy Job
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v4
2020
with:
2121
submodules: recursive
2222
fetch-depth: 0
@@ -27,7 +27,7 @@ jobs:
2727
uses: Azure/static-web-apps-deploy@v1
2828
env:
2929
HUGO_ENV: production
30-
HUGO_VERSION: "0.100.2"
30+
HUGO_VERSION: "0.147.9"
3131
with:
3232
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_V1_15 }}
3333
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)

0 commit comments

Comments
 (0)