Переглянути джерело

use double quotes for curl command

Alexander Belanger 5 роки тому
батько
коміт
a0080d3db4
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      internal/integrations/ci/actions/steps.go

+ 1 - 1
internal/integrations/ci/actions/steps.go

@@ -54,7 +54,7 @@ func getDockerBuildPushStep(dockerFilePath, repoURL string) GithubActionYAMLStep
 }
 
 const deployPorter string = `
-curl -X POST 'https://dashboard.getporter.dev/api/webhooks/deploy/${{secrets.%s}}?commit=$(git rev-parse --short HEAD)&repository=%s'
+curl -X POST "https://dashboard.getporter.dev/api/webhooks/deploy/${{secrets.%s}}?commit=$(git rev-parse --short HEAD)&repository=%s"
 `
 
 func deployPorterWebhookStep(webhookTokenSecretName, repoURL string) GithubActionYAMLStep {