Swapping v1 and v2 sites

This commit is contained in:
2025-02-28 11:42:53 +11:00
parent 3f0deaeb8a
commit 9b68589d87
2 changed files with 2 additions and 28 deletions

38
.github/workflows/documentation.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Build and deploy the documentation
on:
push:
branches: ["v2-docs"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4