Skip to content

Commit b6deefd

Browse files
authored
Merge pull request #45 from xmudrii/fix-gh-action
Update GitHub actions to the latest versions
2 parents fc4cfdb + 4786975 commit b6deefd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/gh-pages.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,27 +17,27 @@ concurrency:
1717
jobs:
1818
# Build Job
1919
build:
20-
runs-on: ubuntu-22.04
20+
runs-on: ubuntu-24.04
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424
with:
2525
submodules: true # Fetch flowbite-icons
2626
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2727

2828
- name: Setup Hugo
29-
uses: peaceiris/actions-hugo@v2
29+
uses: peaceiris/actions-hugo@v3
3030
with:
3131
hugo-version: "0.118.2"
3232
extended: true
3333

3434
# install npm dependencies
3535
- name: Setup Node
36-
uses: actions/setup-node@v2
36+
uses: actions/setup-node@v4
3737
with:
3838
node-version: "16"
3939
- name: Cache dependencies
40-
uses: actions/cache@v2
40+
uses: actions/cache@v4
4141
with:
4242
path: ~/.npm
4343
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -50,7 +50,7 @@ jobs:
5050
run: hugo --minify
5151

5252
- name: Upload build artifact
53-
uses: actions/upload-pages-artifact@v1
53+
uses: actions/upload-pages-artifact@v3
5454
with:
5555
path: public/
5656

@@ -59,9 +59,9 @@ jobs:
5959
environment:
6060
name: github-pages
6161
url: ${{ steps.deployment.outputs.page_url }}
62-
runs-on: ubuntu-22.04
62+
runs-on: ubuntu-24.04
6363
needs: build
6464
steps:
6565
- name: Deploy
6666
id: deployment
67-
uses: actions/deploy-pages@v1
67+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)