refactor(web, protocol): use optionalWith for schemas #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚀 Deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: 🚀 Deploy app to Fly.io | |
runs-on: ubuntu-latest | |
environment: production | |
concurrency: deploy-group # this ensures only one action run at a time | |
steps: | |
- name: ⬇️Checkout code | |
uses: actions/checkout@v4 | |
- name: 📠 Setup flyctl | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: 🚀Deploy to Production | |
run: | | |
flyctl deploy . \ | |
--config ./apps/web/fly.toml \ | |
--dockerfile ./apps/web/Dockerfile \ | |
--build-arg GH_PACKAGES_TOKEN=${{ secrets.GH_PACKAGES_TOKEN }} \ | |
--build-target production \ | |
--remote-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} |