Skip to content

Commit

Permalink
Test github actions trigger across different repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
robotichead committed Jan 26, 2024
1 parent 82a2d44 commit 6f0094f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/test-github-ref.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,12 @@ jobs:
# python-version: 3.12.1
- name: Dump github ref
run: echo "Hello World - $GITHUB_REF"
- name: Trigger Docker Deployment
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.BEARER_TOKEN_FOR_GITHUB_ACTIONS }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/NearBeach/nearbeach-docker/dispatches \
-d '{"event_type":"on-demand-test","client_payload":{"version", "$GITHUB_REF"}}'

0 comments on commit 6f0094f

Please sign in to comment.