Skip to content

Commit c32df20

Browse files
cfrankenclaude
andcommitted
Fix dev docs deployment: set devbranch=main and update CI workflow
- Add devbranch = "main" to deploydocs so pushes to main deploy to the dev/ subfolder on GitHub Pages (was defaulting to "master") - Update Documentation.yml: checkout@v4, setup-julia@v2, Julia 1.10 - Add permissions: contents: write so GITHUB_TOKEN can push gh-pages Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 35e33c6 commit c32df20

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/Documentation.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ on:
66
tags: '*'
77
pull_request:
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
build:
1114
runs-on: ubuntu-latest
1215
steps:
13-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v4
1417
- name: Set up Julia
15-
uses: julia-actions/setup-julia@v1
18+
uses: julia-actions/setup-julia@v2
1619
with:
17-
version: '1.7'
20+
version: '1.10'
1821
- name: Install Dependencies
1922
run: julia --project=docs/ -e 'ENV["PYTHON"]="";using Pkg; Pkg.instantiate();'
2023
- name: Build and deploy

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ build()
4545
deploydocs(
4646
repo = "github.com/RemoteSensingTools/CanopyOptics.jl.git",
4747
target = "build",
48+
devbranch = "main",
4849
push_preview = true,
4950
)

0 commit comments

Comments
 (0)