Skip to content

Update documentation.yml #36

Update documentation.yml

Update documentation.yml #36

Workflow file for this run

permissions:
contents: read
pages: write
id-token: write
name: Documentation
on:
push:
branches:
- 'main'
pull_request:
jobs:
docs:
name: 'Julia 1 - ubuntu-latest'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
run: julia --project=docs -e 'using Pkg; Pkg.update()'

Check failure on line 24 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: 24, Col: 9): 'run' is already defined
- name: Build and deploy
run: julia --project=docs --color=yes docs/make.jl
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/build'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4