Skip to content

Commit 7fe80ce

Browse files
committed
ci: Upgrade dependencies and pipeline
1 parent 9876160 commit 7fe80ce

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,29 @@ on:
44
push: { branches: [ main ] }
55
workflow_dispatch:
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
abyss-dev:
912
runs-on: ubuntu-latest
1013
steps:
1114
- name: Git checkout
12-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1316
with:
1417
submodules: recursive
1518

1619
- name: Setup hugo
17-
uses: peaceiris/actions-hugo@v2
20+
uses: peaceiris/actions-hugo@v3
1821
with:
19-
hugo-version: "0.83.1"
22+
hugo-version: "0.148.2"
2023
extended: true
2124

2225
- name: Hugo Build abyss.dev
2326
run: hugo --minify --environment abyss.dev
2427

2528
- name: Deploy to GitHub Pages
26-
uses: peaceiris/actions-gh-pages@v3
29+
uses: peaceiris/actions-gh-pages@v4
2730
with:
2831
deploy_key: ${{ secrets.DEPLOY_ABYSS_DEV }}
2932
external_repository: abyss/deployed-abyss.dev
@@ -37,21 +40,21 @@ jobs:
3740
runs-on: ubuntu-latest
3841
steps:
3942
- name: Git checkout
40-
uses: actions/checkout@v2
43+
uses: actions/checkout@v4
4144
with:
4245
submodules: recursive
4346

4447
- name: Setup hugo
45-
uses: peaceiris/actions-hugo@v2
48+
uses: peaceiris/actions-hugo@v3
4649
with:
47-
hugo-version: "0.83.1"
50+
hugo-version: "0.148.2"
4851
extended: true
4952

5053
- name: Hugo Build cwr.io
5154
run: hugo --minify --environment cwr.io
5255

5356
- name: Deploy to GitHub Pages
54-
uses: peaceiris/actions-gh-pages@v3
57+
uses: peaceiris/actions-gh-pages@v4
5558
with:
5659
deploy_key: ${{ secrets.DEPLOY_CWR_IO }}
5760
external_repository: abyss/deployed-cwr.io

0 commit comments

Comments
 (0)