Skip to content

workflow testing

workflow testing #4

Workflow file for this run

name: Docs
on:
push:
branches: [main]
paths:
- "docs/**"
- ".github/workflows/docs.yml"
workflow_dispatch:
permissions:
actions: write
contents: write
statuses: write
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Julia
uses: julia-actions/setup-julia@v2
with:
version: "1"
- name: Cache Julia artifacts
uses: julia-actions/cache@v2
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Instantiate docs environment
shell: julia --project=docs --color=yes {0}
run: |
using Pkg
Pkg.instantiate()
- name: Build and deploy docs
shell: julia --project=docs --color=yes {0}
run: |
include("docs/make.jl")
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}