File tree Expand file tree Collapse file tree 4 files changed +22660
-14
lines changed Expand file tree Collapse file tree 4 files changed +22660
-14
lines changed Original file line number Diff line number Diff line change 2121 if : github.event.action != 'closed'
2222 uses : mamba-org/setup-micromamba@v2
2323 with :
24- environment-file : environment.yml
24+ environment-file : conda-lock.yml
25+ environment-name : ci
2526 init-shell : bash
2627 cache-environment : true
2728
Original file line number Diff line number Diff line change 11on :
22 workflow_dispatch :
33 push :
4- branches : main
4+ branches : [ main]
55
66name : Quarto Publish
77
@@ -10,24 +10,33 @@ jobs:
1010 runs-on : ubuntu-latest
1111 permissions :
1212 contents : write
13+ pages : write
1314 steps :
1415 - name : Check out repository
1516 uses : actions/checkout@v4
1617
1718 - name : Set up Quarto
1819 uses : quarto-dev/quarto-actions/setup@v2
1920
20- - name : Install Python and Dependencies
21- uses : actions/setup-python@v5
21+ - name : Setup micromamba
22+ if : github.event.action != 'closed'
23+ uses : mamba-org/setup-micromamba@v2
2224 with :
23- python-version : ' 3.10 '
24- cache : ' pip '
25- - run : pip install jupyter
26- - run : pip install -r requirements.txt
25+ environment-file : conda-lock.yml
26+ environment-name : ci
27+ init-shell : bash
28+ cache-environment : true
2729
28- - name : Render and Publish
29- uses : quarto-dev/quarto-actions/publish@v2
30+ - name : Render Quarto Project using mamba environment
31+ if : github.event.action != 'closed'
32+ shell : micromamba-shell {0}
33+ run : quarto render
34+
35+ - name : Deploy to GitHub Pages
36+ if : github.event.action != 'closed'
37+ uses : peaceiris/actions-gh-pages@v3
3038 with :
31- target : gh-pages
32- env :
33- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
40+ publish_dir : ./_site
41+ keep_files : true
42+
Original file line number Diff line number Diff line change @@ -98,4 +98,4 @@ filters:
9898 - quarto
9999
100100execute :
101- freeze : true
101+ freeze : auto
You can’t perform that action at this time.
0 commit comments