Skip to content

Commit 1d4535d

Browse files
committed
Simplify documentation building.
1 parent 4219925 commit 1d4535d

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
@@ -56,24 +56,13 @@ jobs:
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v2
59-
- uses: julia-actions/setup-julia@v1
59+
- uses: julia-actions/setup-julia@latest
6060
with:
61-
version: '1'
62-
- run: |
63-
git config --global user.name name
64-
git config --global user.email email
65-
git config --global github.user username
66-
- run: |
67-
julia --project=docs -e '
68-
using Pkg
69-
Pkg.develop(PackageSpec(path=pwd()))
70-
Pkg.instantiate()'
71-
- run: |
72-
julia --project=docs -e '
73-
using Documenter: doctest
74-
using LLVM
75-
doctest(LLVM)'
76-
- run: julia --project=docs docs/make.jl
61+
version: '1.4'
62+
- name: Install dependencies
63+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
64+
- name: Build and deploy
7765
env:
7866
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7967
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
68+
run: julia --project=docs/ docs/make.jl

0 commit comments

Comments
 (0)