diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 456bd95..acbea42 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -29,10 +29,14 @@ jobs: with: version: '1.10' - uses: julia-actions/cache@v1 - - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - - name: Build and deploy + - name: Install Dependencies + run: | + julia --project=./docs -e ' + using Pkg + Pkg.develop(PackageSpec(path=pwd())) + Pkg.instantiate()' + - name: Build and Deploy + run: julia -t 2 --project=./docs ./docs/make.jl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key - run: julia -t 2 --project=docs/ docs/make.jl