Skip to content

feat: Fetch contents on homepage (#163) #56

feat: Fetch contents on homepage (#163)

feat: Fetch contents on homepage (#163) #56

Workflow file for this run

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 }}