mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2025-01-15 21:36:36 +00:00
Added Drone CI integration
This commit is contained in:
parent
1d75901d0e
commit
3a01055772
15
.drone.yml
Normal file
15
.drone.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: exec
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: deploy
|
||||||
|
environment:
|
||||||
|
PASSWORD:
|
||||||
|
from_secret: HETZNER_TOKEN
|
||||||
|
commands:
|
||||||
|
- >
|
||||||
|
curl -X POST \
|
||||||
|
-H "Authorization: Bearer $HETZNER_TOKEN"
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{"automount":false,"datacenter":"nbg1-dc3,"firewalls":[],"image":"ubuntu-20.04","labels":{},"location":"nbg1","name":"ci-sibling","networks":[],"server_type":"cx11","ssh_keys":[],"start_after_create":true,"user_data":"#cloud-config\nruncmd:\n- [touch, /root/cloud-init-worked]\n","volumes":[]"}'
|
Loading…
Reference in a new issue