Skip to content

Commit

Permalink
Try to trigger the assignment workflow for creating zip files.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvanhorn committed Nov 12, 2024
1 parent e28617f commit da1b9c0
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ jobs:
# raco pkg install --auto www/
raco make www/main.scrbl
make -C www main
- name: Generate assignment zips
env:
GITHUB_TOKEN: ${{ secrets.PAT_ZIPS_WORKFLOW }}
run: |
curl -X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer $GITHUB_TOKEN" \
https://api.github.com/repos/cmsc430/assignments/actions/workflows/push.yml/dispatches \
-d '{"ref":"main"}'
- name: Archive www
uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit da1b9c0

Please sign in to comment.