-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (30 loc) · 945 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Update Documentation
concurrency:
group: ${{ github.workflow }}-${{ github.event.number }}-${{ github.event.type }}
cancel-in-progress: true
on:
push:
branches:
- master
# paths:
# - 'docs/**'
jobs:
updatedocumentation:
runs-on: ubuntu-latest
name: "Update Documentation"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Deploy Documentation
uses: ./.github/actions/build-documentation
env:
DOCS_SRC: ./docs
DEST: ./out
- name: GitHub Pages Deploy
uses: JamesIves/github-pages-deploy-action@releases/v2
env:
BUILD_DIR: ./docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BASE_BRANCH: master # The branch the action should deploy from.
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: docs # The folder the action should deploy.