-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (42 loc) · 1.14 KB
/
build_and_deploy.yml
File metadata and controls
50 lines (42 loc) · 1.14 KB
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
45
46
47
48
49
50
name: build-and-deploy
on:
schedule:
- cron: '0 18 * * *'
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-and-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
defaults:
run:
shell: bash -el {0}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install alignoth
run: cargo install alignoth
- name: Checkout alignoth repo
uses: actions/checkout@v4
with:
repository: alignoth/alignoth
path: alignoth
- name: Build preview html
run: alignoth -b alignoth/tests/sample_3/NA12878.bam -r alignoth/tests/sample_3/ref.fa -v alignoth/tests/sample_3/1257A.vcf.gz -g 1:250-500 --html --max-read-depth 40 > src/preview.html
- name: locosopa
uses: koesterlab/locosopa@main
with:
config: src/config.yaml
path: build