Skip to content

Commit

Permalink
Enable documentation build again (#69)
Browse files Browse the repository at this point in the history
* Start

* Fix error

* Fix README.md

* Add tutorials

* Add new logo

* Change logo

* Final logo

* Add dependencies

* Minor fix on CI

* Remove docs build

* Minor test

* Enable docs build

* Minor fix

* Only build docs on julia 1.10

Signed-off-by: Qingyu Qu <[email protected]>

---------

Signed-off-by: Qingyu Qu <[email protected]>
Co-authored-by: Qingyu Qu <[email protected]>
  • Loading branch information
huiyuxie and ErikQQY authored Nov 19, 2024
1 parent 2203632 commit 8f85f86
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Documentation

on:
push:
branches:
- main # update to match your development branch (master, main, dev, trunk, ...)
tags: "*"
pull_request:

jobs:
build:
permissions:
actions: write
contents: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: "1.10"
- 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 }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --project=docs/ --color=yes docs/make.jl

0 comments on commit 8f85f86

Please sign in to comment.