Skip to content

Commit f274ae9

Browse files
committed
update docs builds
1 parent e8faaf1 commit f274ae9

File tree

5 files changed

+15
-39
lines changed

5 files changed

+15
-39
lines changed

.github/workflows/doc-cleanup.yml

-26
This file was deleted.
File renamed without changes.

.github/workflows/documentation.yml

+14-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,27 @@
11
name: Documentation
2+
23
on:
34
push:
4-
branches: [master]
5+
branches:
6+
- master
57
tags: '*'
68
pull_request:
7-
types: [opened, synchronize, reopened]
9+
810
jobs:
9-
docs:
10-
if: "!contains(github.event.head_commit.message, 'skip ci')"
11-
name: Documentation
11+
build:
12+
permissions:
13+
contents: write
14+
statuses: write
1215
runs-on: ubuntu-latest
1316
steps:
14-
- uses: actions/checkout@v2
15-
- uses: julia-actions/setup-julia@latest
17+
- uses: actions/checkout@v4
18+
- uses: julia-actions/setup-julia@v1
1619
with:
1720
version: '1'
18-
- name: Install Dependencies
19-
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20-
- name: Build and Deploy
21+
- name: Install dependencies
22+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
23+
- name: Build and deploy
2124
env:
2225
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2326
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
24-
run: julia --project=docs docs/make.jl
27+
run: julia --project=docs/ docs/make.jl

docs/Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33

44
[compat]
5-
Documenter = "0.27"
5+
Documenter = "1.2"

docs/make.jl

-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,4 @@ makedocs(
4141

4242
deploydocs(
4343
repo = "github.com/lanl-ansi/PowerModels.jl.git",
44-
push_preview = true,
4544
)

0 commit comments

Comments
 (0)