Skip to content

Second test for the test github actions #5

Second test for the test github actions

Second test for the test github actions #5

Workflow file for this run

name: Test Github Ref
on:
push:
workflow_dispatch:
jobs:
test-thingy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# 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"}}'