Skip to content

Commit d38c8ca

Browse files
authored
Reverts gh-pages.yml changes
1 parent da3e1e9 commit d38c8ca

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: github pages
2-
32
on:
43
push:
54
branches:
@@ -8,34 +7,27 @@ on:
87
branches:
98
- main
109
workflow_dispatch:
11-
1210
jobs:
1311
deploy:
1412
runs-on: ubuntu-22.04
1513
steps:
16-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v3
1715
with:
1816
submodules: true # Fetch Hugo themes (true OR recursive)
1917
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2018

21-
- uses: actions/setup-node@v4
22-
with:
23-
node-version: 20
24-
2519
- name: Setup Hugo
26-
uses: peaceiris/actions-hugo@v3
20+
uses: peaceiris/actions-hugo@v2
2721
with:
2822
hugo-version: 'latest'
2923
extended: true
30-
3124
- name: Install Dependencies
3225
run: npm install autoprefixer postcss postcss-cli
33-
3426
- name: Build
3527
run: hugo --minify
3628

3729
- name: Deploy
38-
uses: peaceiris/actions-gh-pages@v4
30+
uses: peaceiris/actions-gh-pages@v3
3931
if: github.ref == 'refs/heads/main'
4032
with:
4133
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)