Skip to content

Commit

Permalink
GH action update
Browse files Browse the repository at this point in the history
  • Loading branch information
janpipek committed Sep 8, 2024
1 parent 0360596 commit a1c7af7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ jobs:
- if: ${{ github.ref == 'refs/heads/main' }}
name: Publish compiled course
run: |
git fetch origin compiled2023
poetry run python -m ghp_import -m "Compiled" -b compiled2023 --push _compiled/
git fetch origin compiled2024
poetry run python -m ghp_import -m "Compiled" -b compiled2024 --push _compiled/
curl -H 'Content-Type: application/json' \
--data '{"repository": "https://github.com/${{ github.repository }}", "branch": "compiled2023"}' \
--data '{"repository": "https://github.com/${{ github.repository }}", "branch": "compiled2024"}' \
https://hooks.nauc.se/trigger
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit a1c7af7

Please sign in to comment.