-
Notifications
You must be signed in to change notification settings - Fork 24
executable file
·40 lines (33 loc) · 1.24 KB
/
notebook-merge.yml
File metadata and controls
executable file
·40 lines (33 loc) · 1.24 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
# Notebook CI - Main Branch (Merge) Workflow
# Copy this file to your repository's .github/workflows/ directory
# This workflow handles post-merge processing and documentation deployment
name: Notebook CI - Main Branch
on:
push:
branches: [ main ]
paths:
- 'notebooks/**'
- 'requirements.txt'
- 'pyproject.toml'
- '*.yml'
- '*.yaml'
- '*.md'
- '*.html'
- '*.css'
- '*.js'
jobs:
notebook-ci-and-deploy:
uses: spacetelescope/notebook-ci-actions/.github/workflows/notebook-ci-unified.yml@v1
with:
execution-mode: 'merge'
python-version: '3.12' # Adjust as needed
conda-environment: 'hstcal' # Uncomment and adjust for custom conda env
enable-validation: true
enable-security: true
enable-execution: true
enable-storage: true # Store outputs to gh-storage
enable-html-build: true # Build and deploy HTML docs
#post-processing-script: 'scripts/jdaviz_image_replacement.sh' # Adjust path as needed
secrets:
CASJOBS_USERID: ${{ secrets.CASJOBS_USERID }}
CASJOBS_PW: ${{ secrets.CASJOBS_PW }}