diff --git a/.github/workflows/pr_comment.yml b/.github/workflows/pr_comment.yml index c7d29b6..58cec3e 100644 --- a/.github/workflows/pr_comment.yml +++ b/.github/workflows/pr_comment.yml @@ -5,10 +5,12 @@ on: jobs: pr_comment: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - name: Create PR comment if: github.event_name == 'pull_request' && github.repository == github.event.pull_request.head.repo.full_name # if this is a pull request build AND the pull request is NOT made from a fork uses: thollander/actions-comment-pull-request@71efef56b184328c7ef1f213577c3a90edaa4aff with: - message: 'Once the build has completed, you can preview your PR at this URL: https://biojulia.dev/BiojuliaDocs/previews/PR${{ github.event.number }}/' + message: 'Once the build has completed, you can preview your PR at this URL: https://biojulia.dev/previews/PR${{ github.event.number }}/' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/docs/Project.toml b/docs/Project.toml index 0e99887..94f8b00 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -20,3 +20,6 @@ PopGen = "af524d12-c74b-11e9-22a8-3b091653023f" ReadDatastores = "70a005b8-9d8a-11e9-0d98-c909fa2e52d2" SubstitutionModels = "8365b1bb-bd83-58ee-a267-f2965fc81c73" XAM = "d759349c-bcba-11e9-07c2-5b90f8f05f7c" + +[compat] +DocumenterVitepress = "0.3" diff --git a/docs/make.jl b/docs/make.jl index 91c735b..7c3e1f7 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -13,7 +13,7 @@ makedocs( repo = "https://github.com/BioJulia/biojulia.github.io", devbranch = "main", devurl = "dev", - deploy_url = "biojulia.dev", + deploy_url = "https://biojulia.dev", ), pages = [ # Showcase of Cool Examples