Skip to content

Commit

Permalink
testing workflow again
Browse files Browse the repository at this point in the history
  • Loading branch information
dkogler committed Oct 9, 2024
1 parent e9f7779 commit 181cb95
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/trigger-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Trigger workflow in asd-projects-template
- name: Checkout repository
uses: actions/checkout@v2

- name: Update repository
run: |
git config user.name github-actions
git config user.email [email protected]
curl -X POST https://api.github.com/repos/OperationSpark/asd-projects-template/dispatches \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.PAT }}" \
--data '{
"event_type": "update-${{ github.event.repository.name }}",
"client_payload": {
"repo": "${{ github.event.repository.name }}"
}
}'
git clone https://github.com/OperationSpark/asd-projects-template.git
cd asd-projects-template
# Make your updates here
git add .
git commit -m "Automated update from ${{ github.event.repository.name }}"
git push origin main
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ var randomColor = "#000000".replace(/0/g, function () {
});
```
There are other, less cryptic ways to produce random numbers, and you should definitely try and figure them out on your own, but if you just want a random color, this will work.
There are other, less cryptic ways to produce random numbers, and you are encouraged to research/experiment on your own, but if you just want a random color, this will work.
## Detect when the two players collide to make a "tag" game.
Expand Down

0 comments on commit 181cb95

Please sign in to comment.