mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 19:56:30 +00:00
try different curl API
This commit is contained in:
parent
9a88677122
commit
277261ff8f
8
.github/workflows/Tasmota_build_devel.yml
vendored
8
.github/workflows/Tasmota_build_devel.yml
vendored
@ -3,10 +3,6 @@ name: Build_development
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # Start a workflow
|
workflow_dispatch: # Start a workflow
|
||||||
inputs:
|
|
||||||
Store_Tasmota_firmwares: # workflow name of the remote gh workflow
|
|
||||||
description: "Workflow Store_Tasmota_firmwares which will be triggered"
|
|
||||||
default: "Store_Tasmota_firmwares"
|
|
||||||
push:
|
push:
|
||||||
branches: development
|
branches: development
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
@ -330,7 +326,7 @@ jobs:
|
|||||||
user_name: 'github-actions'
|
user_name: 'github-actions'
|
||||||
- name: Dispatch worflow in Jason2866/Tasmota-firmware
|
- name: Dispatch worflow in Jason2866/Tasmota-firmware
|
||||||
run: |
|
run: |
|
||||||
curl -X POST https://api.github.com/repos/Jason2866/Tasmota-firmware/dispatches \
|
curl -X POST https://api.github.com/repos/Jason2866/Tasmota-firmware/actions/workflows/fetch_deploy.yml/dispatches \
|
||||||
-H 'Accept: application/vnd.github.everest-preview+json' \
|
-H 'Accept: application/vnd.github.everest-preview+json' \
|
||||||
-u ${{ secrets.API_TOKEN_GITHUB }} \
|
-u ${{ secrets.API_TOKEN_GITHUB }} \
|
||||||
--data '{"event_type": "Trigger Workflow", "client_payload": { "repository": "'"$GITHUB_REPOSITORY"'" }}'
|
--data '{"ref": "development"}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user