Skip to content

Commit

Permalink
Merge pull request #335 from tktcorporation/feature/restart
Browse files Browse the repository at this point in the history
🧑‍💻 add an action to restart fly tts
  • Loading branch information
tktcorporation committed Jun 1, 2023
2 parents 0bc7db1 + 40d8e1d commit a1e441c
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 a1e441c

Please sign in to comment.