Skip to content

Commit

Permalink
Build docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Dec 6, 2023
1 parent 5b3bec2 commit b62e874
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and store docs artifact

on:
push:
branches:
- build-docs

jobs:
uploadDocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v5
with:
context: docs/
load: true
tags: pavex-docs
- name: Build docs
run: |
docker run --rm -it -v ${PWD}:/docs pavex-docs build
- uses: actions/upload-artifact@v3
with:
name: docs
path: site/
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
site_name: Pavex
site_url: "https://pavex.dev/"
repo_url: "https://github.com/LukeMathWalker/pavex"
repo_name: "LukeMathWalker/pavex"
edit_uri: "edit/main/docs/"
Expand Down

0 comments on commit b62e874

Please sign in to comment.