Skip to content

Commit

Permalink
Replace julia-docdeploy action for manual actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Sep 18, 2023
1 parent 240b94c commit abd1c8f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/Documenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1.9'
- name: Add Julia registries
run: |
using Pkg
pkg"registry add https://github.com/bsc-quantic/Registry.git"
pkg"registry add General"
shell: julia {0}
- uses: julia-actions/julia-docdeploy@v1
- name: Install dependencies
run: julia --color=yes --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --color=yes --project=docs/ docs/make.jl

0 comments on commit abd1c8f

Please sign in to comment.