DeployTests/.drone.yml

16 lines
443 B
YAML

kind: pipeline
type: docker
name: deploy
steps:
- name: Push to Portainer
image: alpine
commands:
- apk update
- apk add envsubst curl
- envsubst < portainer_deploy.template.json > portainer_deploy.json
- curl -d "portainer_deploy.json" -H "X-Api-Key=ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=" -X POST https://dvportainer.privatedns.org/stacks/create/standalone/repository
trigger:
branch:
- main