Skip to content

Merge pull request #354 from chrisbrahms/peakpower #29

Merge pull request #354 from chrisbrahms/peakpower

Merge pull request #354 from chrisbrahms/peakpower #29

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
tags: '*'
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@latest
with:
version: ^1.7.0-rc1
- name: Install dependencies and build package
env:
PYTHON: # remove PYTHON env variable to make sure packages are installed
uses: julia-actions/julia-buildpkg@v1
- name: Instantiate documentation pkg
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate();'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
run: julia --project=docs/ docs/make.jl