Skip to content

feat: update skeletons #74

feat: update skeletons

feat: update skeletons #74

Workflow file for this run

name: πŸš€ Deploy
on:
push:
branches:
- main
- dev
jobs:
deploy:
name: πŸš€ Deploy
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v3
- name: πŸ‘€ Read the app name
uses: SebRollen/[email protected]
id: app_name
with:
file: "fly.toml"
field: "app"
- name: πŸš€ Deploy Staging
if: ${{ github.ref == 'refs/heads/dev' }}
uses: superfly/[email protected]
with:
args: "deploy --remote-only --app ${{ steps.app_name.outputs.value }}-staging"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: πŸš€ Deploy Production
if: ${{ github.ref == 'refs/heads/main' }}
uses: superfly/[email protected]
with:
args: "deploy --remote-only"
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}