Skip to content

set Fly DOTENV_KEY secret #8

set Fly DOTENV_KEY secret

set Fly DOTENV_KEY secret #8

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: 🎈 set environments Fly
run: flyctl secrets set DOTENV_KEY=${{ secrets.DOTENV_KEY }}
- name: πŸš€ Deploy Production
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
DOTENV_KEY: ${{ secrets.DOTENV_KEY }}