Commit 359c831
committed
Add repository-dispatch workflow to deployment
This PR adds a "repository dispatch" step to the build workflow. What
this does is trigger a GitHub Actions run in the astropy/learn-astropy
repository. The payload for the trigger includes a reference to the
workflow artifact, which will allow the learn-astropy build to download
the tutorials artifact.
This requires a GitHub Secret to be set up on the tutorials repo named
`DISPATCH_GITHUB_TOKEN` that has a write access to the
astropy/learn-astropy repository.
See https://github.com/peter-evans/repository-dispatch#token1 parent f9e4b47 commit 359c831
1 file changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
45 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments