Ver Fonte

fix action URL in github deployment URL

Mohammed Nafees há 4 anos atrás
pai
commit
43298c50d8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      api/server/handlers/environment/create_deployment.go

+ 1 - 1
api/server/handlers/environment/create_deployment.go

@@ -142,7 +142,7 @@ func createDeployment(
 	// Create Deployment Status to indicate it's in progress
 	// Create Deployment Status to indicate it's in progress
 
 
 	state := "in_progress"
 	state := "in_progress"
-	log_url := fmt.Sprintf("https://github.com/%s/%s/runs/%d", env.GitRepoOwner, env.GitRepoName, actionID)
+	log_url := fmt.Sprintf("https://github.com/%s/%s/actions/runs/%d", env.GitRepoOwner, env.GitRepoName, actionID)
 
 
 	deploymentStatusRequest := github.DeploymentStatusRequest{
 	deploymentStatusRequest := github.DeploymentStatusRequest{
 		State:  &state,
 		State:  &state,