Update GitHub Actions workflows to use latest versions of dependencies

This commit is contained in:
Aditya Telange 2024-11-03 13:22:29 +05:30
parent 8a17bf8931
commit 696579255a
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -45,12 +45,12 @@ jobs:
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: exampleSite
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Get Theme
run: git submodule update --init --recursive
- name: Update theme to Latest commit
@ -61,7 +61,7 @@ jobs:
--buildDrafts --gc \
--baseURL ${{ steps.pages.outputs.base_url }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./public
# Deployment job
@ -74,4 +74,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4