Skip to content

Commit

Permalink
fix documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
OmegaLambda1998 committed Jul 5, 2024
1 parent c737c54 commit e4ca867
Show file tree
Hide file tree
Showing 24 changed files with 7 additions and 757 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ concurrency:

jobs:
build:
permissions:
contents: write
pull-requests: read
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -28,11 +32,8 @@ jobs:
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Pkg.add("DocumenterTools")
# using DocumenterTools
# DocumenterTools.genkeys(user="<github username>", repo="<github repo>")
# Pkg.rm("DocumenterTools")
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ KissMCMC = "79d62d8d-4dfd-5781-bc85-ce78e0ac132a"
LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
StatProfilerHTML = "a8a75453-ed82-57c9-9e16-4cd1196ecbf5"
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
Supernovae = "f00d7deb-a70b-45c2-b896-7f55cd638e72"
TOML = "fa267f1f-6049-4f14-aa54-33bafae1ed76"
Expand Down
2 changes: 0 additions & 2 deletions doc/build/api/index.html

This file was deleted.

Loading

0 comments on commit e4ca867

Please sign in to comment.