Skip to content

Commit 3a697c9

Browse files
authored
Merge pull request #3 from JuliaFirstOrder/docdeploy-action
Docdeploy action
2 parents e69cc3a + e4c9d69 commit 3a697c9

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
- uses: julia-actions/setup-julia@latest
1414
with:
1515
version: '1.6'
16-
- name: Install dependencies
17-
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
18-
- name: Build and deploy
16+
- uses: julia-actions/julia-buildpkg@latest
17+
- uses: julia-actions/julia-docdeploy@latest
1918
env:
20-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
21-
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
22-
run: julia --color=yes --project=docs/ docs/make.jl
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![codecov](https://codecov.io/gh/JuliaFirstOrder/LCSO.jl/branch/main/graph/badge.svg?token=Cz8LGxvzwx)](https://codecov.io/gh/JuliaFirstOrder/LCSO.jl)
55

66
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliafirstorder.github.io/LCSO.jl/stable)
7-
[![](https://img.shields.io/badge/docs-latest-blue.svg)](https://juliafirstorder.github.io/LCSO.jl/latest)
7+
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliafirstorder.github.io/LCSO.jl/dev)
88

99

1010
**LCSO.jl** is a [Julia](http://julialang.org) package that solves **L**inearly **C**onstrained **S**eparable **O**ptimization Problems.

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ makedocs(
3939
deploydocs(;
4040
repo = "github.com/JuliaFirstOrder/LCSO.jl.git",
4141
devbranch = "main",
42+
push_preview = true,
4243
)

0 commit comments

Comments
 (0)