Skip to content

Commit

Permalink
chore: add custom gh token to calling actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
gtempus committed Oct 31, 2023
1 parent 9af0e70 commit 5d902f2
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" -var="slack_token=${{ secrets.SLACK_BOT_OAUTH_TOKEN }} -var="github_token=${{ secrets.GH_ACTIONS_TOKEN }}"
terraform apply -auto-approve -var="game_state=running" -var="slack_token=${{ secrets.SLACK_BOT_OAUTH_TOKEN }}" -var="github_token=${{ secrets.GH_ACTIONS_TOKEN }}"
;;
stop)
terraform apply -auto-approve -var="game_state=stopped" -var="slack_token=${{ secrets.SLACK_BOT_OAUTH_TOKEN }} -var="github_token=${{ secrets.GH_ACTIONS_TOKEN }}"
terraform apply -auto-approve -var="game_state=stopped" -var="slack_token=${{ secrets.SLACK_BOT_OAUTH_TOKEN }}" -var="github_token=${{ secrets.GH_ACTIONS_TOKEN }}"
;;
status)
terraform output -json
Expand Down

0 comments on commit 5d902f2

Please sign in to comment.