Skip to content

Commit a7787d5

Browse files
authored
Run on schedule and build preview HTML
1 parent e24a3a1 commit a7787d5

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/build_and_deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: build-and-deploy
22

33
on:
4+
schedule:
5+
- cron: '0 18 * * *'
46
push:
57
branches:
68
- main
@@ -23,6 +25,21 @@ jobs:
2325
steps:
2426
- name: Checkout
2527
uses: actions/checkout@v4
28+
29+
- name: Install stable toolchain
30+
uses: actions-rs/toolchain@v1
31+
32+
- name: Install alignoth
33+
run: cargo install alignoth
34+
35+
- name: Checkout alignoth repo
36+
uses: actions/checkout@v4
37+
with:
38+
repository: alignoth/alignoth
39+
path: alignoth
40+
41+
- name: Build preview html
42+
run: alignoth -b alignoth/tests/sample_3/NA12878.bam -r alignoth/tests/sample_3/ref.fa -g 1:250-500 --html --max-read-depth 40 > src/preview.html
2643

2744
- name: locosopa
2845
uses: koesterlab/locosopa@main

0 commit comments

Comments
 (0)