Skip to content

Documentation

Documentation #3

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
paths:
- docs
tags: ['*']
workflow_dispatch:
concurrency:
# Skip intermediate builds: always.
# Cancel intermediate builds: always.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
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:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Pkg.add("DocumenterTools")
# using DocumenterTools
# DocumenterTools.genkeys(user="<github username>", repo="<github repo>")
# Pkg.rm("DocumenterTools")
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 36 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: 36, Col: 11): 'GITHUB_TOKEN' is already defined
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl