Skip to content

Commit 8faef69

Browse files
committed
Test orphan branch
1 parent c8f316f commit 8faef69

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/multidocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ jobs:
2121
- name: Set up
2222
run: git config --global init.defaultBranch test-multidocs
2323

24+
- name: Create orphan branch
25+
run: |
26+
git checkout --orphan dep-multidocs || echo "Branch already exists or cannot be created."
27+
git commit --allow-empty -m "Initial commit for documentation build" || echo "No commits to create."
2428
2529
2630
# Build GNNGraphs docs

docs/make-multi.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ cp(joinpath(@__DIR__, "logo.svg"),
6060
@warn "Deploying to GitHub as MultiDocumenter"
6161
gitroot = normpath(joinpath(@__DIR__, ".."))
6262
run(`git pull`)
63-
outbranch = "branch-multidoc"
63+
outbranch = "dep-multidocs"
6464
has_outbranch = true
6565
if !success(`git checkout $outbranch`)
6666
has_outbranch = false

0 commit comments

Comments
 (0)