Skip to content

Fix token in docs gen #44

Fix token in docs gen

Fix token in docs gen #44

Workflow file for this run

name: Documenter
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
branches:
- "master"
paths:
- '**.toml'
- '**.jl'
- 'docs/*'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
Documenter:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Add Julia registries
run: |
using Pkg
pkg"registry add https://github.com/bsc-quantic/Registry.git"
shell: julia {0}
- name: Build package
uses: julia-actions/julia-buildpkg@latest
- name: Generate documentation
run: julia --color=yes docs/make.jl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v1.0.5
with:
path: "docs/build"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1