test/.drone.yml
Dorian Zedler d85a87a521
All checks were successful
continuous-integration/drone/push Build is passing
Update '.drone.yml'
2022-08-08 12:11:14 +02:00

30 lines
604 B
YAML

---
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\":{}}'"
environment:
GITHUB_TOKEN:
from_secret: github-token
---
kind: pipeline
type: exec
name: macos
platform:
os: darwin
arch: amd64
steps:
- name: test
commands:
- sw_vers
depends_on:
- start-github-action