From d85a87a521cd863bfe5b3bc4f0ae694a9b8542df Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Mon, 8 Aug 2022 12:11:14 +0200 Subject: [PATCH] Update '.drone.yml' --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index be32244..0f2c1bb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,7 @@ steps: - name: create workflow_dispatch event image: alpine/curl commands: - - sleep 10 + - "curl -X POST -H \"Accept: application/vnd.github+json\" -H \"Authorization: token $GITHUB_TOKEN\" https://api.github.com/repos/dorianim/drone-runner/actions/workflows/drone.yml/dispatches -d '{\"ref\":\"main\",\"inputs\":{}}'" environment: GITHUB_TOKEN: from_secret: github-token