Skip to content

Commit 3d708af

Browse files
committed
rename github action to build
1 parent 369d7a3 commit 3d708af

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed
Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: GitHub Pages
1+
name: Build
22

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

88
jobs:
99
deploy:
10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-22.04
1111
concurrency:
1212
group: ${{ github.workflow }}-${{ github.ref }}
1313
steps:
1414
- uses: actions/checkout@v3
1515
with:
16-
submodules: true # Fetch Hugo themes (true OR recursive)
1716
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
17+
submodules: true # Fetch Hugo themes (true OR recursive)
1818

1919
- name: Setup Java
2020
uses: actions/setup-java@v3
@@ -24,10 +24,3 @@ jobs:
2424

2525
- name: Build
2626
run: ant -f resources/build.xml
27-
28-
- name: Deploy
29-
uses: peaceiris/actions-gh-pages@v3
30-
if: ${{ github.ref == 'refs/heads/main' }}
31-
with:
32-
github_token: ${{ secrets.GITHUB_TOKEN }}
33-
publish_dir: distribution/

0 commit comments

Comments
 (0)