-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 988 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
34
35
36
37
38
39
40
41
42
43
44
name: Make Documentation
on:
push:
branches: ["main"]
tags: ["*"]
defaults:
run:
shell: bash
permissions:
contents: write
jobs:
documentation:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.x" ]
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.RELEASE_BOT_APP_ID }}
private-key: ${{ secrets.RELEASE_BOT_APP_PKEY }}
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
fetch-depth: 0
fetch-tags: true
- uses: ./.github/actions/bootstrap-environ
id: bootstrap-environ
with:
python-version: ${{ matrix.python-version }}
runner: ${{ matrix.os }}
- name: Update the Changelog
run: |
make changelog
git push origin ${{ github.ref_name }}
- name: Build the Docs
run: make docs