Skip to content

Commit

Permalink
Add cname and setup auto doc publishing on release (#162)
Browse files Browse the repository at this point in the history
this should enable gh page to keep the custom domain when pushing doc.
As a separate improvement, also activate the documentation publication on release event.
  • Loading branch information
1technophile authored Jul 24, 2022
1 parent 40e9b7d commit 5666825
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Create and publish documentation
on:
workflow_dispatch:
release:
types: [published]
jobs:
documentation:
runs-on: ubuntu-latest
Expand All @@ -27,4 +29,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
publish_dir: ./docs/.vuepress/dist
cname: decoder.theengs.io

0 comments on commit 5666825

Please sign in to comment.