From b70c8582ebf928ef2f5cf004b9d97a379223569d Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Sun, 18 Oct 2020 19:37:53 +0200 Subject: [PATCH] add instructions to manually trigger a build Signed-off-by: Felix Bartels --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 3cdda91..ce941ec 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,14 @@ You can either add secrets through the web UI or use drone directly from your te drone secret add -repository username/repository-name --name foo --data bar --allow-pull-request ``` +### Trigger build via curl + +```bash +curl -X POST -i https://drone.9wd.eu/api/repos/felix/cloudron-drone-app/builds -H "Authorization: Bearer your-token" +``` + +Get token from https://drone.9wd.eu/account + ## Inspiration - [Setting up simple, self-hosted & fast CI/CD solution with Drone.io](https://webhookrelay.com/blog/2019/02/11/using-drone-for-simple-selfhosted-ci-cd/)