From 40d8e1d32928858f1bdd77c111b20849dee4a5c1 Mon Sep 17 00:00:00 2001 From: tkt <37575408+tktcorporation@users.noreply.github.com> Date: Thu, 1 Jun 2023 17:13:38 +0000 Subject: [PATCH] :technologist: add an action to restart fly tts --- .github/workflows/restart-fly-tts.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/restart-fly-tts.yml diff --git a/.github/workflows/restart-fly-tts.yml b/.github/workflows/restart-fly-tts.yml new file mode 100644 index 0000000..9886da3 --- /dev/null +++ b/.github/workflows/restart-fly-tts.yml @@ -0,0 +1,23 @@ +name: "Restart FlyIo shabe-mo" + +on: + workflow_dispatch: + +defaults: + run: + shell: bash + working-directory: ./ + +env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +jobs: + deploy: + name: deploy + runs-on: ubuntu-latest + environment: + name: heroku_production + + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl apps restart tts-discord-bot