summaryrefslogtreecommitdiffstats
path: root/.github/workflows/gh-pages.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/gh-pages.yml')
-rw-r--r--.github/workflows/gh-pages.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
new file mode 100644
index 00000000..89d676a1
--- /dev/null
+++ b/.github/workflows/gh-pages.yml
@@ -0,0 +1,22 @@
+name: GitHub Pages
+
+#on:
+# push:
+# branches:
+# - main
+on: [pull_request, push]
+
+jobs:
+ gh-pages:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+ - name: Doxygen Action
+ uses: mattnotmitt/doxygen-action@v1
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_branch: gh-pages
+ publish_dir: docs/