Merge pull request #88 from CliMA/jianghao #263
This file contains hidden or 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 |