Skip to content

add docs build

add docs build #1

Workflow file for this run

name: documentation
on:
push:
branches:
- main
tags: '*'
# env:
# JULIA_PKG_USE_CLI_GIT: true #github runner was not checking out Utility...https://discourse.julialang.org/t/prepare-self-hosted-runner-on-windows-10-for-github-actions-and-julia-private-registry-and-packages/82367
jobs:
build:
permissions:
contents: write
statuses: write
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
- name: Clone this repo
uses: actions/checkout@v2
with:

Check failure on line 25 in .github/workflows/documentation.yml

View workflow run for this annotation

GitHub Actions / documentation

Invalid workflow file

The workflow is not valid. .github/workflows/documentation.yml (Line: 25, Col: 14): Unexpected value ''
- name: Install dependencies
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
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --project=docs/ docs/make.jl
# run: julia --project=docs/ -e 'pwd()' && julia --project=docs/ docs/make.jl