Skip to content

BES_trigger_unmute_action #19

BES_trigger_unmute_action

BES_trigger_unmute_action #19

# create bot unmute trigger
name: BES_trigger_unmute_action
on:
# every day at 23 55 UTC
schedule:
- cron: "55 23 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
environment: github_actions_bes
steps:
- name: trigger botEnSky UnMute
env:
BES_SIMULATION_TOKEN: ${{ secrets.BES_SIMULATION_TOKEN }}
BES_SIMULATION_URL: ${{ secrets.BES_SIMULATION_URL }}
run: |
curl -q -H "API-TOKEN: ${BES_SIMULATION_TOKEN}" -H "PLUGIN-NAME: UnMute" "${BES_SIMULATION_URL}"