Skip to content

add deployment environments and disable webhook on local #41

add deployment environments and disable webhook on local

add deployment environments and disable webhook on local #41

Workflow file for this run

name: Fly Deploy
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Create secrets file
run: |
touch secrets.txt
echo -e "${{secrets.BOT_TOKEN}}\n${{secrets.NOTION_SECRET}}" >> secrets.txt
- name: Setup flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy
run: flyctl deploy --detach
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}