Skip to content

Commit

Permalink
chore: add slack bot oauth to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gtempus committed Oct 23, 2023
1 parent 8abb3dc commit ae3d65b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/api_triggered_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ jobs:
run: |
case "${{ github.event.client_payload.action }}" in
start)
terraform apply -auto-approve -var="game_state=running"
terraform apply -auto-approve -var="game_state=running" -var="slack_token=${{ secrets.SLACK_BOT_OAUTH_TOKEN }}"
;;
stop)
terraform apply -auto-approve -var="game_state=stopped"
terraform apply -auto-approve -var="game_state=stopped" -var="slack_token=${{ secrets.SLACK_BOT_OAUTH_TOKEN }}"
;;
status)
terraform output -json
Expand Down

0 comments on commit ae3d65b

Please sign in to comment.