Skip to content

Commit b49a715

Browse files
committed
ci: update deploy action
1 parent 8715507 commit b49a715

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: github pages
1+
name: Deploy
22

33
on:
44
push:
@@ -7,18 +7,14 @@ on:
77

88
jobs:
99
deploy:
10-
runs-on: ubuntu-18.04
10+
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v6
1313
with:
1414
submodules: true # Fetch Hugo themes (true OR recursive)
1515
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
1616

17-
- name: Setup Zola
18-
run: wget -q -O - "https://github.com/getzola/zola/releases/download/v0.11.0/zola-v0.11.0-x86_64-unknown-linux-gnu.tar.gz" | tar xzf -
19-
20-
- name: Build
21-
run: ./zola build
17+
- uses: ./.github/actions/zola-build
2218

2319
- name: Deploy
2420
uses: peaceiris/actions-gh-pages@v3

0 commit comments

Comments
 (0)