Skip to content

use DOTENV_KEY in deploy job to set BOT_TOKEN env #7

use DOTENV_KEY in deploy job to set BOT_TOKEN env

use DOTENV_KEY in deploy job to set BOT_TOKEN env #7

Workflow file for this run

name: 🎈 Fly Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: πŸš€ Deploy
runs-on: ubuntu-latest
environment: production
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
- name: 🎈 Setup Fly
uses: superfly/flyctl-actions/setup-flyctl@master
- name: πŸš€ Deploy Production
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}