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 "Content-Type:application/json" -H "X-API-Key:ptr_RwxH2Cd+htdD2FoFiG46erT9beyvj9VoF3BrQPtDH3Q=" -X POST https://dvportainer.privatedns.org/api/stacks/create/standalone/repository?endpointId=10 trigger: branch: - main