Bump GitHub workflow actions to latest versions (#1267)

ref: https://github.com/actions/starter-workflows/blob/main/pages/hugo.yml
This commit is contained in:
Aditya Telange 2023-08-12 13:29:16 +05:30 committed by GitHub
parent fa57a841c3
commit 0dfff4e1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ jobs:
ref: exampleSite ref: exampleSite
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v1 uses: actions/configure-pages@v3
- name: Get Theme - name: Get Theme
run: git submodule update --init --recursive run: git submodule update --init --recursive
- name: Update theme to Latest commit - name: Update theme to Latest commit
@ -64,7 +64,7 @@ jobs:
--buildDrafts --gc --verbose \ --buildDrafts --gc --verbose \
--baseURL ${{ steps.pages.outputs.base_url }} --baseURL ${{ steps.pages.outputs.base_url }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v1 uses: actions/upload-pages-artifact@v2
with: with:
path: ./public path: ./public
# Deployment job # Deployment job
@ -77,4 +77,4 @@ jobs:
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v1 uses: actions/deploy-pages@v2