Skip to content

Commit cddea35

Browse files
authored
Update to Documenter 0.27, change from Travis to GH Actions. (#5)
1 parent f715dc7 commit cddea35

File tree

5 files changed

+28
-15
lines changed

5 files changed

+28
-15
lines changed

.documenter.enc

-1.64 KB
Binary file not shown.

.github/workflows/ci.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- 'master'
7+
tags: '*'
8+
pull_request:
9+
10+
jobs:
11+
build:
12+
name: Page build
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: julia-actions/setup-julia@v1
17+
with:
18+
version: '1'
19+
- name: Install dependencies
20+
run: julia --project -e 'using Pkg; Pkg.instantiate()'
21+
- name: Build and deploy
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
25+
run: julia --project --color=yes make.jl

.travis.yml

-14
This file was deleted.

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
44

55
[compat]
6-
Documenter = "0.22"
6+
Documenter = "0.27.3"

make.jl

+2
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,6 @@ deploydocs(
5656
repo = "github.com/JuliaDocs/juliadocs.github.io.git",
5757
branch = "master",
5858
devbranch = "source",
59+
versions = nothing,
60+
push_preview = true,
5961
)

0 commit comments

Comments
 (0)