Skip to content

Commit 15d6945

Browse files
authored
Build docs with GitHub Actions (#452)
Also push docs previews
1 parent bcbda7e commit 15d6945

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/Documenter.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Documenter
2+
on:
3+
push:
4+
branches: [master]
5+
tags: [v*]
6+
pull_request:
7+
8+
jobs:
9+
Documenter:
10+
name: Documentation
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: julia-actions/julia-buildpkg@latest
15+
- uses: julia-actions/julia-docdeploy@latest
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ makedocs(
2525

2626
deploydocs(
2727
repo = "github.com/JuliaDebug/JuliaInterpreter.jl.git",
28+
push_preview = true
2829
)

0 commit comments

Comments
 (0)