Skip to content

Merge pull request #62 from AmorGakCo/hotfix/#61 #24

Merge pull request #62 from AmorGakCo/hotfix/#61

Merge pull request #62 from AmorGakCo/hotfix/#61 #24

Workflow file for this run

name: AmorGakCo CD
on:
push:
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
sudo docker images prune
sudo docker-compose up -d --build