Add files via upload #65
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- main # or your default branch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1.7' | |
- name: Install dependencies | |
run: julia --project=docs -e ' | |
import Pkg; Pkg.add("Documenter"); | |
using Pkg; | |
Pkg.develop(PackageSpec(path=pwd())); | |
Pkg.instantiate()' | |
- name: Set environment variables | |
run: echo "DOCUMENTER_KEY=${{ secrets.DOCUMENTER_KEY }}" >> $GITHUB_ENV | |
- name: Build and deploy documentation | |
run: julia --project=docs docs/make.jl |