Skip to content

Commit

Permalink
docs: add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ianna authored Mar 12, 2024
1 parent 4d2b0ab commit 2ccd2db
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,31 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
# docs:
# name: Documentation
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: julia-actions/setup-julia@latest
# with:
# version: '1'
# - name: Cache artifacts
# uses: actions/cache@v2
# env:
# cache-name: cache-artifacts
# with:
# path: ~/.julia/artifacts
# key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/docs/Project.toml') }}
# restore-keys: |
# ${{ runner.os }}-test-${{ env.cache-name }}-
# ${{ runner.os }}-test-
# ${{ runner.os }}-
# - uses: julia-actions/julia-buildpkg@latest
# env:
# PYTHON: 'Conda'
# - uses: julia-actions/julia-docdeploy@latest
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# # Needed due to https://github.com/JuliaDocs/Documenter.jl/issues/1177
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# GKSwstype: 'nul'
docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- name: Cache artifacts
uses: actions/cache@v2
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/docs/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@latest
env:
PYTHON: 'Conda'
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Needed due to https://github.com/JuliaDocs/Documenter.jl/issues/1177
# DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
# GKSwstype: 'nul'

0 comments on commit 2ccd2db

Please sign in to comment.