Merge pull request #83 from CliMA/Yujie-W-patch-1 #247
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: | |
- main | |
- staging | |
- trying | |
tags: '*' | |
pull_request: | |
jobs: | |
docs-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Actions | |
uses: actions/checkout@v1 | |
- name: Set up Julia | |
uses: julia-actions/setup-julia@v1 | |
with: | |
version: "1" | |
- name: Install Dependencies | |
run: julia --project=docs/ -e 'ENV["PYTHON"]=""; using Pkg; Pkg.develop(path="."); Pkg.instantiate();' | |
- name: Build and deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: julia --project=docs/ docs/make.jl |