Skip to content

Commit c2240f0

Browse files
committed
Fix documentation deployment.
1 parent 6333151 commit c2240f0

File tree

2 files changed

+7
-17
lines changed

2 files changed

+7
-17
lines changed

.github/workflows/TagBot.yml

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ jobs:
1212
- uses: JuliaRegistries/TagBot@v1
1313
with:
1414
token: ${{ secrets.GITHUB_TOKEN }}
15+
ssh: ${{ secrets.DOCUMENTER_KEY }}

.github/workflows/ci.yml

+6-17
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- x64
2727
steps:
2828
- uses: actions/checkout@v2
29-
- uses: julia-actions/setup-julia@v1
29+
- uses: julia-actions/setup-julia@latest
3030
with:
3131
version: ${{ matrix.version }}
3232
arch: ${{ matrix.arch }}
@@ -55,24 +55,13 @@ jobs:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- uses: actions/checkout@v2
58-
- uses: julia-actions/setup-julia@v1
58+
- uses: julia-actions/setup-julia@latest
5959
with:
6060
version: '1.6'
61-
- run: |
62-
git config --global user.name name
63-
git config --global user.email email
64-
git config --global github.user username
65-
- run: |
66-
julia --project=docs -e '
67-
using Pkg
68-
Pkg.develop(PackageSpec(path=pwd()))
69-
Pkg.instantiate()'
70-
- run: |
71-
julia --project=docs -e '
72-
using Documenter: doctest
73-
using GPUArrays
74-
doctest(GPUArrays)'
75-
- run: julia --project=docs docs/make.jl
61+
- name: Install dependencies
62+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
63+
- name: Build and deploy
7664
env:
7765
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7866
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
67+
run: julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)