Skip to content

Merge pull request #3 from OmegaLambda1998/OmegaLambda1998-patch-1 #4

Merge pull request #3 from OmegaLambda1998/OmegaLambda1998-patch-1

Merge pull request #3 from OmegaLambda1998/OmegaLambda1998-patch-1 #4

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
# using DocumenterTools
# DocumenterTools.genkeys(user="<github username>", repo="<github repo>")
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl