mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
23 lines
470 B
YAML
23 lines
470 B
YAML
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/
|