Skip to content

Commit 39a1dd3

Browse files
committed
yippee website
1 parent a4d1e00 commit 39a1dd3

3 files changed

Lines changed: 15 additions & 5 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,25 @@ jobs:
2626
run: |
2727
pip install -r requirements-ci.txt
2828
29-
- name: Build docs with driverci
29+
- name: Build docs
3030
run: |
3131
chmod +x driver-ci
3232
./driver-ci
3333
34+
- name: Upload GitHub Pages artifact
35+
uses: actions/upload-pages-artifact@v3
36+
with:
37+
path: docs/build/html
38+
3439
deploy:
3540
needs: build
3641
runs-on: ubuntu-latest
3742
environment:
3843
name: github-pages
39-
url: ${{ steps.deployment.outputs.page_url }}
44+
url: ${{ steps.deploy.outputs.page_url }}
4045

4146
steps:
4247
- name: Deploy to GitHub Pages
43-
id: deployment
44-
uses: actions/deploy-pages@v2
48+
id: deploy
49+
uses: actions/deploy-pages@v4
50+

driver-ci

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,8 @@ INDEX_DST="$DOCS_SOURCE_DIR/index.md"
6767
cd "$ROOT_DIR/docs"
6868
make clean
6969
make html
70+
71+
# === Copy media into final HTML output ===
72+
cd "$BUILD_DIR/html"
73+
mkdir -p media
74+
cp -r "$STATIC_MEDIA_DIR"/* media/

src/amago

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)