Skip to content

Commit ab5d435

Browse files
update tagbot
1 parent 6f61b0b commit ab5d435

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/TagBot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
types:
55
- created
66
workflow_dispatch:
7+
inputs:
8+
lookback:
9+
default: 3
10+
permissions:
11+
contents: write
712
jobs:
813
TagBot:
914
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'

docs/make.jl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ using Documenter
33

44
# Copy the README to the home page in docs, to avoid duplication.
55
readme = readlines(joinpath(@__DIR__, "..", "README.md"))
6-
# indexbase = readlines("docs/src/indexbase.md")
6+
77
open(joinpath(@__DIR__, "src/index.md"), "w") do f
8-
# for l in indexbase
9-
# println(f, l)
10-
# end
118
for l in readme
129
println(f, l)
1310
end
@@ -17,11 +14,12 @@ DocMeta.setdocmeta!(MLUtils, :DocTestSetup, :(using MLUtils); recursive=true)
1714

1815
makedocs(;
1916
modules=[MLUtils],
20-
doctest=true, clean=true,
17+
doctest=true,
18+
clean=true,
2119
sitename = "MLUtils.jl",
2220
pages = ["Home" => "index.md",
2321
"API" => "api.md"],
2422
)
2523

26-
deploydocs(repo="github.com/JuliaML/MLUtils.jl.git")
27-
24+
deploydocs(repo="github.com/JuliaML/MLUtils.jl.git",
25+
devbranch="main")

0 commit comments

Comments
 (0)