Skip to content

Commit da1b9c0

Browse files
committed
Try to trigger the assignment workflow for creating zip files.
1 parent e28617f commit da1b9c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/push.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ jobs:
3333
# raco pkg install --auto www/
3434
raco make www/main.scrbl
3535
make -C www main
36+
- name: Generate assignment zips
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.PAT_ZIPS_WORKFLOW }}
39+
run: |
40+
curl -X POST \
41+
-H "Accept: application/vnd.github+json" \
42+
-H "Authorization: Bearer $GITHUB_TOKEN" \
43+
https://api.github.com/repos/cmsc430/assignments/actions/workflows/push.yml/dispatches \
44+
-d '{"ref":"main"}'
3645
- name: Archive www
3746
uses: actions/upload-pages-artifact@v3
3847
with:

0 commit comments

Comments
 (0)