Update '.drone.yml'
This commit is contained in:
parent
5b476611a3
commit
7e3bd83ad4
1 changed files with 16 additions and 0 deletions
16
.drone.yml
16
.drone.yml
|
@ -18,6 +18,19 @@ steps:
|
|||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: start-github-action
|
||||
steps:
|
||||
- name: create workflow_dispatch event
|
||||
image: alpine/curl
|
||||
commands:
|
||||
- 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":{}}'
|
||||
- sleep 10
|
||||
environment:
|
||||
GITHUB_TOKEN:
|
||||
from_secret: github-token
|
||||
---
|
||||
kind: pipeline
|
||||
type: exec
|
||||
name: macos
|
||||
|
||||
|
@ -30,3 +43,6 @@ steps:
|
|||
commands:
|
||||
- sw_vers
|
||||
|
||||
depends_on:
|
||||
- start-github-action
|
||||
|
Loading…
Reference in a new issue