add stripped down single cell analysis #26
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: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- 'v*' | |
pull_request: | |
branches: | |
- main | |
# needed to allow julia-actions/cache to delete old caches that it has created | |
permissions: | |
actions: write | |
contents: write | |
jobs: | |
docs: | |
name: Build demo site | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Restore datasets | |
id: cache-datasets-restore | |
uses: actions/cache/restore@v3 | |
with: | |
path: data/ | |
key: ${{ runner.os }}-dataset | |
- uses: julia-actions/setup-julia@v1 | |
- uses: julia-actions/cache@v1 | |
- uses: julia-actions/julia-buildpkg@v1 | |
- run: | | |
julia --project="." -e ' | |
using Pkg | |
Pkg.instantiate()' | |
- run: julia --project="." site/make.jl | |
env: | |
AppID: ${{ secrets.APPID }} | |
AppSecret: ${{ secrets.APPSECRET }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} | |
- name: Save datasets | |
id: cache-datasets-save | |
uses: actions/cache/save@v3 | |
with: | |
path: data/ | |
key: ${{ steps.cache-datasets-restore.outputs.cache-primary-key }} |