Skip to content

Commit cdb8aad

Browse files
committed
Update Documenter.yml workflow
- Use `shell` option - Add color to julia output
1 parent 65eaabf commit cdb8aad

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/Documenter.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,21 @@ on:
99
tags: '*'
1010
jobs:
1111
docs:
12+
name: Documentation
1213
permissions:
1314
contents: write
1415
statuses: write
15-
name: Documentation
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v6
1919
- uses: julia-actions/setup-julia@v2
2020
with:
2121
version: '1'
2222
- name: Install dependencies
23-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
23+
shell: julia --color=yes --project=docs {0}
24+
run: 'using Pkg; Pkg.instantiate()'
2425
- name: Build and deploy
26+
run: julia --color=yes --project=docs docs/make.jl
2527
env:
2628
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2729
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
28-
run: julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)