Skip to content

docs: add repository README for the documentation site #2

docs: add repository README for the documentation site

docs: add repository README for the documentation site #2

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: deploy
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Install Oxidoc
run: curl -fsSL https://raw.githubusercontent.com/oxidoc-lab/oxidoc/main/scripts/install.sh | sh
- name: Build site
run: oxidoc build
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
path: dist
deploy:
name: Deploy to GitHub Pages
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4