Merge pull request #4995 from JuliaPlots/ViralBShah-patch-2 #1006
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: docs | |
on: | |
workflow_dispatch: | |
push: | |
branches: [master] | |
tags: '*' | |
jobs: | |
Build_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: JuliaPlots/PlotDocs.jl | |
- uses: julia-actions/setup-julia@latest | |
- name: Cache artifacts | |
uses: actions/cache@v4 | |
env: | |
cache-name: cache-artifacts | |
with: | |
path: ~/.julia/artifacts | |
key: ${{runner.os}}-test-${{env.cache-name}}-${{hashFiles('**/Project.toml')}} | |
restore-keys: | | |
${{runner.os}}-test-${{env.cache-name}}- | |
${{runner.os}}-test- | |
${{runner.os}}- | |
- name: Build documentation | |
env: | |
PYTHON: "" | |
DOCUMENTER_KEY: ${{secrets.DOCUMENTER_KEY}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
run: bash docs/ci_build.sh |