Skip to content

Commit

Permalink
Merge pull request #4 from irazzhivin/master
Browse files Browse the repository at this point in the history
SLACK_CHANNEL_NAME comments
  • Loading branch information
irazzhivin authored Dec 20, 2022
2 parents 06b91fc + b1ae827 commit 71e3caa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Configuration is done via env variables

* `SLACK_BOT_TOKEN` - Slack bot token. Mandatory parameter. scopes: channels:history, chat:write, reactions:read, users:read.email, users:read
* `SLACK_APP_TOKEN` - Slack app token. Mandatory parameter. scopes: connections:write
* `SLACK_CHANNEL_NAME` - Slack channel name. Also channel_id can be used

# Slack App manifect example
```yaml
Expand Down Expand Up @@ -119,7 +120,7 @@ settings:
#Provide git credentials (e.g.: https://docs.gitlab.com/ee/ci/jobs/ci_job_token.html)
git remote set-url --push origin git@gitlab:$CI_PROJECT_PATH
git switch $BRANCHES_TO_PROMOTE
git push -f ssh_origin HEAD:$PRODUCTION_BRANCHES
git push -f origin HEAD:$PRODUCTION_BRANCHES
else
echo 'Confirmation failed or is cancelled'
fi
Expand Down

0 comments on commit 71e3caa

Please sign in to comment.