Import code from Tensors
package
#49
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
- name: Upload GitHub Pages artifact | |
uses: actions/[email protected] | |
with: | |
path: "docs/build" | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v1 |