File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff 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 : |
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/"
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
Original file line number Diff line number Diff line change 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
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)
You can’t perform that action at this time.
0 commit comments