Skip to content

fixed cors origins

fixed cors origins #3

Workflow file for this run

name: Deploy to DigitalOcean
on:
push:
branches: [ main ]
paths: [ 'api/**' ] # Only deploy when API changes
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy to server
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
cd /root/band-manager
git pull origin main
cd api
docker-compose -f docker-compose.prod.yml down
docker-compose -f docker-compose.prod.yml up -d --build