2024-07-19 update : update doc. #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
julia-version: '1.9' | |
- name: Install dependencies | |
run: | | |
julia -e 'using Pkg; Pkg.instantiate()' | |
julia -e 'using Pkg; Pkg.add("Documenter")' | |
julia -e 'using Pkg; Pkg.add("UCIWWEIHR")' | |
- name: Install dependencies | |
run: julia --project -e 'using Pkg; Pkg.instantiate()' | |
- name: Build documentation | |
run: julia docs/make.jl | |
- name: Upload documentation | |
uses: actions/upload-artifact@v2 | |
with: | |
name: github-pages | |
path: docs/build | |
- name: Deploy to GitHub Pages | |
uses: actions/deploy-pages@v4 |