Skip to content

Commit

Permalink
minor: update documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanxshi committed Apr 25, 2024
1 parent b75792b commit 10edf25
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ 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.6'
version: '1.9'
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
run: julia --project=docs/ docs/make.jl
run: julia --project=docs/ docs/make.jl
3 changes: 2 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
CDCP = "e882dc6a-cb4b-4795-8680-b0a27742e84e"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3 changes: 1 addition & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
push!(LOAD_PATH,"../src/")
using Documenter, CDCP

makedocs(
Expand All @@ -9,4 +8,4 @@ makedocs(
]
)

deploydocs( repo = "github.com/rowanxshi/CDCP.jl.git")
deploydocs( repo = "github.com/rowanxshi/CDCP.jl.git")

0 comments on commit 10edf25

Please sign in to comment.