Fix curl line + git ref
continuous-integration/drone/push Build is passing Details

pull/1/head
lars 2023-10-02 11:56:45 -05:00
parent db9de5342f
commit aa3cd9d749
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ steps:
- 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
- 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:

View File

@ -19,7 +19,7 @@
"repositoryAuthentication": true,
"repositoryUsername": "cicd",
"repositoryPassword": "gJ6@$7ZjWGyV4%i",
"repositoryReferenceName": "/refs/heads/main",
"repositoryReferenceName": "refs/heads/main",
"repositoryURL": "https://dvgit.privatedns.org/lars/DeployTests",
"tlsskipVerify": false
}