Skip to content

Merge pull request #30 from AmorGakCo/feat/#27 #7

Merge pull request #30 from AmorGakCo/feat/#27

Merge pull request #30 from AmorGakCo/feat/#27 #7

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
git pull
sudo docker-compose down
sudo docker-compose up -d --build