-
Notifications
You must be signed in to change notification settings - Fork 21
Fix documentation deployment (switch to HTTPS via GITHUB_TOKEN) #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,16 +13,20 @@ jobs: | |
| contents: write | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: julia-actions/setup-julia@v1 | ||
| - uses: actions/checkout@v4 | ||
| - uses: julia-actions/setup-julia@v2 | ||
| with: | ||
| version: '1' | ||
| - name: Install dependencies | ||
| env: | ||
| PYTHON: "" | ||
| run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | ||
| - name: Build and deploy | ||
| # Deployment uses GITHUB_TOKEN (HTTPS). No SSH deploy key required. | ||
| # The contents: write permission above grants GITHUB_TOKEN push access to gh-pages. | ||
| # Deployment is skipped on pull requests; docs are still built to catch errors. | ||
| if: github.event_name != 'pull_request' | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | ||
| DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| PYTHON: "" | ||
|
||
| run: julia --project=docs/ docs/make.jl | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,6 @@ Manifest.toml | |
| .DS_Store | ||
| .vscode | ||
| */Manifest.toml | ||
| docs/build/ | ||
| docs/build/ | ||
| *claude.md | ||
| *.claude | ||
Uh oh!
There was an error while loading. Please reload this page.