Skip to content

Commit

Permalink
Add documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat authored Aug 2, 2024
1 parent ef6e297 commit 2f7eaaf
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Documentation

# Cancel in-progress documentation builds as soon as new commits are pushed to
# the same branch to prevent unnecessary builds from clogging up the GitHub
# Actions runner queue.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
branches:
- 'main'
- 'release-*'
tags:
- 'v*'
pull_request:

# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: write

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: 'latest'
arch: x64
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: julia --project=docs/ docs/make.jl

0 comments on commit 2f7eaaf

Please sign in to comment.