Skip to content

Commit

Permalink
🧑‍💻 add an action to restart fly tts
Browse files Browse the repository at this point in the history
  • Loading branch information
tktcorporation authored Jun 1, 2023
1 parent 0bc7db1 commit 40d8e1d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/restart-fly-tts.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 40d8e1d

Please sign in to comment.