Skip to content

Merge pull request #140 from Giveth/change-rf5-org-t0-rf5-or-6 #29

Merge pull request #140 from Giveth/change-rf5-org-t0-rf5-or-6

Merge pull request #140 from Giveth/change-rf5-org-t0-rf5-or-6 #29

Workflow file for this run

name: auto-deploy-main
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Production Auto-Deploy
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.PROD_HOST }}
username: ${{ secrets.PROD_USERNAME }}
key: ${{ secrets.PROD_PRIVATE_KEY }}
port: 22
script: |
cd $HOME/DeVouch-BE
git checkout main
git checkout -- .
git pull
docker compose stop devouch squid-db
docker compose up -d --build
docker system prune -af