Skip to content

Commit

Permalink
Set up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
GianlucaFuwa committed Mar 11, 2024
1 parent ff44952 commit 4b5754c
Show file tree
Hide file tree
Showing 5 changed files with 1,241 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Documentation

on:
push:
branches: [gpu] # update to match your development branch (master, main, dev, trunk, ...)
tags: ["*"]
pull_request:

jobs:
build:
permissions:
contents: write
statuses: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@latest
with:
version: "1.9.4"
- uses: julia-actions/cache@v1
- 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/ --code-coverage=user docs/make.jl
Loading

0 comments on commit 4b5754c

Please sign in to comment.