File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 3939 run : |
4040 nbcollection convert --flatten --build-path=. -v --make-index --index-template=templates/index.tpl tutorials --exclude=conesearch # TODO: remove this exclude!
4141
42+ - name : Name artifact
43+ id : nameartifact
44+ run : |
45+ echo "::set-output name=artifactName::rendered-tutorials-${{ github.sha }}"
46+
4247 - uses : actions/upload-artifact@v2
4348 with :
44- name : rendered-tutorials- ${{ github.sha }}
49+ name : ${{ steps.nameartifact.outputs.artifactName }}
4550 path : _build
51+
52+ - name : Dispatch Learn Astropy deployment
53+ uses : peter-evans/repository-dispatch@0e8ca8c8a5ca5e28d25af2c27fc5aa40f16cffca
54+ if : ${{ (github.event_name == 'push') && (github.ref == 'refs/heads/main') }}
55+ with :
56+ token : ${{ secrets.DISPATCH_GITHUB_TOKEN }}
57+ repository : astropy/learn-astropy
58+ event-type : tutorials-build
59+ client-payload : ' {"artifactName": "${{ steps.nameartifact.outputs.artifactName }}", "checkrunid": "${{ github.run_id }}", "repo": "${{ github.repository }}"}'
You can’t perform that action at this time.
0 commit comments