Skip to content

Commit 61d9976

Browse files
committed
CI: enabling cron and workflow dispatch for site building
1 parent a870f27 commit 61d9976

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Diff for: .github/workflows/conda.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build site
1+
name: Build site with conda
22

33
on:
44
push:
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches:
99
- main
10+
schedule:
11+
- cron: '0 5 * * 1'
12+
workflow_dispatch:
1013

1114
jobs:
1215
test:
@@ -21,7 +24,7 @@ jobs:
2124
shell: bash -l {0}
2225

2326
steps:
24-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2528
- uses: conda-incubator/setup-miniconda@v2
2629
with:
2730
auto-update-conda: true
@@ -30,7 +33,7 @@ jobs:
3033
miniforge-variant: Mambaforge
3134
miniforge-version: latest
3235
use-mamba: true
33-
python-version: "3.10"
36+
python-version: "3.11"
3437
auto-activate-base: false
3538
- name: inspect and build
3639
id: build_step

0 commit comments

Comments
 (0)