Skip to content

Merge pull request #68 from AmorGakCo/fix/#66 #25

Merge pull request #68 from AmorGakCo/fix/#66

Merge pull request #68 from AmorGakCo/fix/#66 #25

Workflow file for this run

name: AmorGakCo CD
on:
push:
paths:
- "main/**"
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: ssh access
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{secrets.GCP_HOST}}
username: ${{secrets.GCP_USERNAME}}
key: ${{secrets.GCP_SECRET}}
script: |
cd Backend/main
git pull
sudo docker-compose down -v
sudo docker images prune
sudo docker-compose up -d --build