Skip to content

Commit

Permalink
fix docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Santos Michelena committed Dec 21, 2023
1 parent b60079d commit 9a1fc89
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,13 @@ jobs:
- name: Setup Julia
uses: julia-actions/setup-julia@v1
with:
version: '1'

- name: Install Dependencies and Build Documentation
version: '1' # Change this to match your Julia version
- name: Install dependencies
run: |
julia --project=docs -e '
import Pkg;
Pkg.develop(PackageSpec(path=pwd()))
Pkg.instantiate();
Pkg.add("Documenter")'
julia --project=docs -e '
using Pkg;
using Documenter: doctest;
using QuadraticTeamDecisionSolver;
doctest(QuadraticTeamDecisionSolver)'
- name: Build and Deploy Documentation
run: julia --project=docs docs/make.jl
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs/ -e 'import Pkg; Pkg.add("DocumenterCitations")'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl

0 comments on commit 9a1fc89

Please sign in to comment.