I followed all steps in the tutorial below to deploy my unregistered package documentation.
However, the gh-pages branch is not updated. It only displays a default GitHub page.
What am I missing?
I enabled Actions and Pages in the repository.
What else do I need to configure in the repository settings?
Locally, the docs are generated ok in the docs/build folder.
My CI.yml file inside .github/workflows is
name: Documentation
on:
push:
branches:
- main
tags: '*'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.6'
- 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
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
run: julia --project=docs/ docs/make.jl
Help is appreciated.