Просмотр исходного кода

use double quotes for curl command

Alexander Belanger 5 лет назад
Родитель
Сommit
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 {