Skip to content

Commit a78daa3

Browse files
committed
CI: making "Documentation" clickable for doc preview
1 parent 7f49359 commit a78daa3

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎.github/workflows/Documentation.yml‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,17 @@ on:
99

1010
jobs:
1111
build:
12+
name: Documentation
1213
permissions:
1314
contents: write
15+
statuses: write
1416
runs-on: ubuntu-latest
1517
steps:
1618
- uses: actions/checkout@v7
1719
- uses: julia-actions/setup-julia@v3
1820
with:
1921
version: '1'
20-
- name: Install dependencies
21-
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
22-
- name: Build and deploy
22+
- uses: julia-actions/cache@v3
23+
- uses: julia-actions/julia-docdeploy@v1
2324
env:
24-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
25-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
26-
run: julia --project=docs/ docs/make.jl
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)