Test a different API endpoint for KioskConfig trigger
This commit is contained in:
@@ -39,11 +39,21 @@ jobs:
|
|||||||
from: ci@radiantwavetech.com
|
from: ci@radiantwavetech.com
|
||||||
body: "Build ${{ job.status }} for commit ${{ github.sha }} on branch dev"
|
body: "Build ${{ job.status }} for commit ${{ github.sha }} on branch dev"
|
||||||
|
|
||||||
|
# - name: Trigger KioskConfig dev build
|
||||||
|
# if: success()
|
||||||
|
# run: |
|
||||||
|
# curl -X POST \
|
||||||
|
# -H "Authorization: token ${{ secrets.TOKEN }}" \
|
||||||
|
# -H "Content-Type: application/json" \
|
||||||
|
# -d '{"ref": "main"}' \
|
||||||
|
# https://codeberg.org/api/v1/repos/RhemaWave-Technologies/KioskConfig/actions/workflows/update-dev.yaml/dispatches
|
||||||
|
|
||||||
- name: Trigger KioskConfig dev build
|
- name: Trigger KioskConfig dev build
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Authorization: token ${{ secrets.TOKEN }}" \
|
-H "Authorization: token ${{ secrets.FORGEJO_TOKEN }}" \
|
||||||
|
-H "Accept: application/json" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"ref": "main"}' \
|
https://codeberg.org/api/v1/repos/RhemaWave-Technologies/KioskConfig/dispatches \
|
||||||
https://codeberg.org/api/v1/repos/RhemaWave-Technologies/KioskConfig/actions/workflows/update-dev.yaml/dispatches
|
-d '{"type": "radiantwave-dev-built"}'
|
||||||
|
|||||||
Reference in New Issue
Block a user