Skip to content

Adding julia caching and workflow_dispatch #10

Adding julia caching and workflow_dispatch

Adding julia caching and workflow_dispatch #10

Workflow file for this run

name: Make Docs

Check failure on line 1 in .github/workflows/make_docs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/make_docs.yml

Invalid workflow file

`worflow_dispatch` is not a valid event name
on:
push:
branches:
- master
- docs
paths:
- '.github/workflows/make_docs.yml'
- 'src/'
- 'docs/**'
tags: '*'
worflow_dispatch:
jobs:
make_docs:
permissions:
contents: write
statuses: write
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
- uses: julia-actions/cache@latest
- name: Install dependencies
run: |
julia --project=docs/ -e 'using Pkg; Pkg.add(; url="https://github.com/ProjectTorreyPines/IMASDD.jl.git"); Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl