-
Notifications
You must be signed in to change notification settings - Fork 46
44 lines (36 loc) · 1.03 KB
/
publish_website.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Publish Website
on:
push:
pull_request:
jobs:
build_n_push:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: "3.10"
mamba-version: "*"
channels: conda-forge,bioconda,defaults
channel-priority: strict
activate-environment: V-pipe
auto-update-conda: true
- name: Install dependencies
run: |
mamba install --yes snakemake-minimal jupytext sra-tools nbconvert ipykernel
python -m ipykernel install --user
- name: Build website
working-directory: ./docs
run: ./convert.sh branch
- uses: actions/upload-artifact@v2
with:
name: JupyterNotebooks
path: ./docs/*.ipynb
# - name: Publish
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs