forked from benspector3/asd-walker-keyboard
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters