chore: updated query to fetch related creators #48
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 API | |
on: | |
push: | |
paths: | |
- 'services/main/**' | |
branches: | |
- main | |
- prod | |
jobs: | |
deploy: | |
name: ⚙️ Build And Deploy | |
runs-on: ubuntu-latest | |
concurrency: deploy-group | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |
defaults: | |
run: | |
working-directory: services/main | |
steps: | |
- name: ⬇️ Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Environment Variables | |
id: create-json | |
uses: jsdaniell/create-json@v1.2.2 | |
with: | |
name: "appsettings.Production.json" | |
json: ${{ secrets.PRODUCTION_ENV }} | |
dir: "services/main/" | |
- name: 🎈 Setup Fly | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: 🚀 Deploy Staging | |
run: | |
flyctl deploy --remote-only --build-arg COMMIT_SHA=${{ github.sha }} |