Skip to content

Commit 1e0fbb3

Browse files
authored
Merge pull request #538 from jonathansick/release-workflow-updates
Release workflow updates
2 parents 2388a6b + 0bf5a02 commit 1e0fbb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
3030
- name: Execute the notebooks
3131
run: |
32-
nbcollection execute --timeout=600 --flatten --build-path=. -v tutorials --exclude=conesearch # TODO: remove this exclude!
32+
make executeall
3333
3434
- name: Convert the notebooks to HTML
3535
run: |
36-
nbcollection convert --flatten --build-path=. -v --make-index --index-template=templates/index.tpl tutorials --exclude=conesearch # TODO: remove this exclude!
36+
make convertall
3737
3838
- name: Name artifact
3939
id: nameartifact
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Dispatch Learn Astropy deployment
4949
uses: peter-evans/repository-dispatch@0e8ca8c8a5ca5e28d25af2c27fc5aa40f16cffca
50-
if: ${{ (github.event_name == 'push') && (github.ref == 'refs/heads/main') }}
50+
if: ${{ (github.event_name == 'push') && (github.ref == 'refs/heads/main') && (github.repository == 'astropy/astropy-tutorials')}}
5151
with:
5252
token: ${{ secrets.DISPATCH_GITHUB_TOKEN }}
5353
repository: astropy/learn-astropy

0 commit comments

Comments
 (0)