forked from pythongssapi/python-gssapi
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 796 Bytes
/
deploy-docs.yml
File metadata and controls
37 lines (32 loc) · 796 Bytes
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
name: Deploy docs
on:
push:
branches: main
jobs:
update-pages:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v5
- name: Select python
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Build sdist
run: |
python -m pip install build
python -m build --sdist
env:
GSSAPI_SUPPORT_DETECT: false
GSSAPI_LINKER_ARGS: ''
GSSAPI_COMPILER_ARGS: ''
- name: Build docs
run: ./ci/run-on-linux.sh ./ci/before-docs-deploy.sh
env:
DISTRO: fedora:latest
- name: Deploy latest docs
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ci_docs_build
target-folder: latest