Skip to content

Bump julia-actions/cache from 1.3.0 to 1.5.0 #301

Bump julia-actions/cache from 1.3.0 to 1.5.0

Bump julia-actions/cache from 1.3.0 to 1.5.0 #301

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
JULIA_NUM_THREADS: 2
jobs:
BuildDocs:
permissions:
contents: write
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: julia-actions/[email protected]
with:
cache-name: 'docs'
- run: julia -e 'using Pkg; Pkg.add("Revise");'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ConfigureDocs:
needs: BuildDocs
if: github.ref == 'refs/heads/main'
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 'docs-output'
- run: echo "sirus.jl.huijzer.xyz" > CNAME
- run: echo "<meta http-equiv=\"refresh\" content=\"0; url=./dev/\"/>" > index.html
- uses: peaceiris/actions-gh-pages@v3
with:
force_orphan: true
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
publish_branch: 'docs-output'