Skip to content

Update Documentation.yml #17

Update Documentation.yml

Update Documentation.yml #17

Workflow file for this run

name: Documentation
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
julia-version: '1.9'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build documentation
run: julia docs/make.jl
- name: Upload documentation
uses: actions/upload-artifact@v2
with:
name: github-pages
path: docs/build
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
token: ${{ secrets.DOCUMENTER_KEY }}