-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (28 loc) · 1005 Bytes
/
ci_docs_publish.yml
File metadata and controls
38 lines (28 loc) · 1005 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
38
name: Publish Documentation
on:
push:
branches: main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Install extra dependencies for a python install
run: |
sudo apt-get update
sudo apt -y install --no-install-recommends liblzma-dev libbz2-dev libreadline-dev
- name: Install asdf cli
uses: asdf-vm/actions/setup@b7bcd026f18772e44fe1026d729e1611cc435d47
- name: Install software through asdf
uses: asdf-vm/actions/install@b7bcd026f18772e44fe1026d729e1611cc435d47
- name: reshim asdf
run: asdf reshim
- name: ensure poetry using desired python version
run: poetry env use $(asdf which python)
- run: mkdocs gh-deploy --force