Skip to content

Commit f161460

Browse files
authored
MassInstallAction: Install the Documenter workflow on this repository (#87)
* Build docs on GitHub Actions * Push docs preview
1 parent 6fa5478 commit f161460

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
@@ -18,4 +18,5 @@ makedocs(sitename = "ImageFeatures",
1818
)
1919

2020
deploydocs(repo = "github.com/JuliaImages/ImageFeatures.jl.git",
21+
push_preview = true
2122
)

0 commit comments

Comments
 (0)