Skip to content

Commit

Permalink
slack integration and workflow id
Browse files Browse the repository at this point in the history
  • Loading branch information
d-g-town committed Nov 14, 2023
1 parent 2b49e57 commit c36dc0e
Show file tree
Hide file tree
Showing 6 changed files with 455 additions and 154 deletions.
9 changes: 6 additions & 3 deletions business/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,12 @@ import (

// Config wraps all environment configurations for using the CCP CLI
type Config struct {
GithubToken string `env:"GITHUB_TOKEN,required"`
Owner string `env:"OWNER,required""`
RepositoryName string `env:"REPOSITORY_NAME,required"`
GithubToken string `env:"GITHUB_TOKEN,required"`
Owner string `env:"OWNER,required""`
RepositoryName string `env:"REPOSITORY_NAME,required"`
SlackWebhookURL string `env:"SLACK_WEBHOOK_URL,required"`
PorterService string `env:"PORTER_SERVICE"`
PorterCommit string `env:"PORTER_COMMIT"`
}

func LoadFromEnvAndCreateConfig(ctx context.Context) (Config, error) {
Expand Down
149 changes: 0 additions & 149 deletions business/push.go

This file was deleted.

Loading

0 comments on commit c36dc0e

Please sign in to comment.