ci(workflows): upgrade checkout and configuration actions to latest versions

This commit is contained in:
Aditya Telange
2026-04-26 17:08:08 +05:30
parent 809b67df8b
commit e457685198
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ jobs:
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb && sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
ref: exampleSite ref: exampleSite
+4 -4
View File
@@ -47,12 +47,12 @@ jobs:
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.deb \ 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 && sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v6
with: with:
ref: exampleSite ref: exampleSite
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v5 uses: actions/configure-pages@v6
- 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
@@ -63,7 +63,7 @@ jobs:
--buildDrafts --gc \ --buildDrafts --gc \
--baseURL ${{ steps.pages.outputs.base_url }} --baseURL ${{ steps.pages.outputs.base_url }}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v5
with: with:
path: ./public path: ./public
# Deployment job # Deployment job
@@ -79,4 +79,4 @@ jobs:
steps: steps:
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v5