Skip to content

Commit 458896a

Browse files
authored
Update docs_publish.yml
1 parent b5440de commit 458896a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/docs_publish.yml

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish documentation
1+
name: Publish Documentation
22

33
on:
44
push:
@@ -7,28 +7,28 @@ on:
77

88
jobs:
99
build:
10-
1110
runs-on: ubuntu-latest
12-
strategy:
13-
matrix:
14-
python-version: [3.12]
1511

1612
steps:
17-
- name: Install GCC and Git
18-
run: |
19-
sudo apt-get update
20-
sudo apt-get install -y build-essential git
21-
- uses: actions/checkout@v4
22-
- uses: actions/setup-python@v5
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v2
2318
with:
24-
python-version: ${{ matrix.python-version }}
19+
python-version: '3.13'
20+
2521
- name: Install build essentials
26-
run: sudo apt-get install -y build-essential
22+
run: apt-get update && apt-get install -y build-essential
23+
24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install -r requirements.txt
2728
- name: Install dependencies
2829
run: |
29-
python3 -m pip install --upgrade pip aurora-ssg
30-
python3 -m pip install --upgrade pip pygments bs4 lxml
31-
pip3 install -e .
30+
python3 -m pip install --upgrade pip
31+
pip install pygments bs4 lxml git+https://github.com/capjamesg/aurora
3232
cd docs
3333
- name: Build main site
3434
env:

0 commit comments

Comments
 (0)