Skip to content

Commit dacc672

Browse files
committed
Fix docs CI
1 parent 462634b commit dacc672

1 file changed

Lines changed: 18 additions & 19 deletions

File tree

.github/workflows/build.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,28 +23,27 @@ defaults:
2323

2424
jobs:
2525
build:
26-
2726
runs-on: ubuntu-latest
2827

2928
steps:
30-
- uses: actions/checkout@v3
31-
- name: Set up Python
32-
uses: actions/setup-python@v4
33-
with:
34-
python-version: '3.12'
35-
- name: Install dependencies
36-
run: |
37-
python -m pip install --upgrade pip
38-
pip install -r requirements.txt
39-
- name: Set Posthog API key
40-
run: |
41-
sed -i 's/__POSTHOG_API_KEY__/${{ secrets.POSTHOG_API_KEY }}/' overrides/partials/integrations/analytics/posthog.html
42-
- name: Build
43-
run: mkdocs build
44-
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v1
46-
with:
47-
path: ./site
29+
- uses: actions/checkout@v3
30+
- name: Set up Python
31+
uses: actions/setup-python@v4
32+
with:
33+
python-version: "3.12"
34+
- name: Install dependencies
35+
run: |
36+
python -m pip install --upgrade pip
37+
pip install -r requirements.txt
38+
- name: Set Posthog API key
39+
run: |
40+
sed -i 's/__POSTHOG_API_KEY__/${{ secrets.POSTHOG_API_KEY }}/' overrides/partials/integrations/analytics/posthog.html
41+
- name: Build
42+
run: mkdocs build
43+
- name: Upload artifact
44+
uses: actions/upload-pages-artifact@v3
45+
with:
46+
path: ./site
4847

4948
deploy:
5049
environment:

0 commit comments

Comments
 (0)