Skip to content

Commit

Permalink
run hugo with asciidoctor support
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Aug 10, 2021
1 parent 5b93a84 commit 8b9f7d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
fetch-depth: 1
submodules: true

- name: Install asciidoctor
run: sudo apt-get install asciidoctor

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.79.1'
# extended: true
extended: true

- name: Build
run: hugo --minify --cleanDestinationDir
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
fetch-depth: 1
submodules: true

- name: Install asciidoctor
run: sudo apt-get install asciidoctor

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.79.1'
# extended: true
extended: true

- name: Build
run: hugo --minify --environment preview --cleanDestinationDir
Expand All @@ -43,4 +46,3 @@ jobs:
state: 'success'
target_url: https://preview.loongarch.dev
sha: ${{github.event.pull_request.head.sha || github.sha}}

0 comments on commit 8b9f7d1

Please sign in to comment.