Skip to content

try new approach for building and deploying docs (#552) #206

try new approach for building and deploying docs (#552)

try new approach for building and deploying docs (#552) #206

Workflow file for this run

name: Docs
on:
push:
branches:
- master
tags: '*'
pull_request:
jobs:
docs:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v2
# Build individual docs
- run: julia GNNGraphs/docs/make.jl
- run: julia GNNlib/docs/make.jl
- run: julia GNNLux/docs/make.jl
- run: julia GraphNeuralNetworks/docs/make.jl
# Compile multi docs
- name: MultiDocs
run: |
git config user.name github-actions
git config user.email github-actions@github.com
julia --project=docs/ -e 'using Pkg; Pkg.instantiate()'
julia --project=docs/ docs/make-multi.jl