Skip to content

πŸ“ better docs, auto build to gh-pages #1

πŸ“ better docs, auto build to gh-pages

πŸ“ better docs, auto build to gh-pages #1

Workflow file for this run

on:
push:
branches:
- main
workflow_dispatch:
name: Render docs
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Render README
shell: bash
run: quarto render README.qmd --to html --output index.html
# From GitHub's "Static HTML" workflow template
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4