Add CES emulate + sample pipeline #9713
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: Documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: '*' | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docbuild: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: julia-actions/setup-julia@v3 | |
| with: | |
| version: '1.12' | |
| - name: Cache Julia depot | |
| uses: actions/cache@v5 | |
| with: | |
| # Cache Julia's depot | |
| path: | | |
| ~/.julia/packages | |
| ~/.julia/compiled | |
| ~/.julia/artifacts | |
| ~/.julia/scratchspaces | |
| ~/.julia/registries | |
| ~/.julia/logs | |
| # The cache key includes the OS, Julia version, and the project's dependencies | |
| key: ubuntu-latest-julia-1.12-${{ hashFiles('**/Project.toml', '**/Manifest.toml') }} | |
| # Fallback keys to use if the primary key isn't found | |
| restore-keys: | | |
| ubuntu-latest-julia-1.12- | |
| ubuntu-latest-julia- | |
| - name: Install dependencies | |
| run: julia -O0 --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.precompile()' | |
| - name: Build and deploy | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token | |
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key | |
| run: julia -O0 --color=yes --project=docs/ --procs=4 docs/make.jl |