Skip to content

Commit 62732f5

Browse files
committed
update gha
1 parent ad93921 commit 62732f5

2 files changed

Lines changed: 13 additions & 19 deletions

File tree

.github/workflows/main.yaml

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,23 @@ jobs:
1717
url: ${{steps.deployment.outputs.page_url}}
1818
runs-on: ubuntu-latest
1919
steps:
20-
- name: Set up environment
21-
run: |
22-
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
23-
echo "PLANO_COLOR=1" >> "$GITHUB_ENV"
24-
pip install build wheel
25-
- name: Install Plano
26-
run: |
27-
curl -sfL https://github.com/ssorj/plano/archive/main.tar.gz | tar -xz
28-
cd plano-main && make install
29-
- name: Install Transom
30-
run: |
31-
curl -sfL https://github.com/ssorj/transom/archive/main.tar.gz | tar -xz
32-
cd transom-main && ./plano install
3320
- uses: actions/checkout@v4
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.x'
25+
cache: 'pip'
26+
- name: Install MkDocs and dependencies
27+
run: |
28+
pip install -r requirements.txt
3429
- uses: actions/configure-pages@v4
35-
- name: Render site output
30+
- name: Build site with MkDocs
3631
run: |
37-
./plano render
32+
mkdocs build --strict
3833
env:
39-
SITE_PREFIX: /skupper-docs
40-
PLANO_COLOR: 1
34+
SITE_URL: https://skupperproject.github.io/skupper-docs/
4135
- uses: actions/upload-pages-artifact@v3
4236
with:
43-
path: output
37+
path: output/docs
4438
- uses: actions/deploy-pages@v4
4539
id: deployment

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
site_name: Skupper Documentation
2-
site_url: https://skupper.io/docs/
2+
site_url: !ENV [SITE_URL, 'http://localhost:8000']
33
docs_dir: input
44
site_dir: output/docs
55

0 commit comments

Comments
 (0)