Merge pull request #54 from JuliaAstro/icweaver-doc-home #111
Workflow file for this run
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: Build website | |
| on: | |
| push: | |
| branches: [source] | |
| pull_request: | |
| schedule: | |
| - cron: '15 2 * * *' # 2:15 AM UTC every day | |
| jobs: | |
| docs: | |
| name: MultiDocumentation | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: "1" | |
| - uses: julia-actions/cache@v2 | |
| - name: Install dependencies | |
| shell: julia --color=yes --project=docs {0} | |
| run: | | |
| using Pkg | |
| Pkg.instantiate() | |
| - name: Aggregate and deploy | |
| run: | | |
| git config user.name github-actions | |
| git config user.email github-actions@github.com | |
| julia --color=yes --project=docs docs/make.jl | |
| env: | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |