Merge pull request #69 from CliMA/cm/updates-action-trigger #63
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: Use Github Registry | |
| run: julia -e 'using Pkg; Pkg.Registry.rm("General"); Pkg.Registry.add(RegistrySpec(url="https://github.com/JuliaRegistries/General"))' | |
| - name: Install Dependencies | |
| run: julia --project=docs/ -e 'ENV["PYTHON"]=""; using Pkg; Pkg.update();' | |
| - name: Build and deploy | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: julia --project=docs/ docs/make.jl |