Skip to content

add proof of regen example #120

add proof of regen example

add proof of regen example #120

name: auto-deploy-develop
on:
push:
branches:
- develop
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Staging Auto-Deploy
uses: appleboy/[email protected]
with:
host: ${{ secrets.STAGING_HOST }}
username: ${{ secrets.STAGING_USERNAME }}
key: ${{ secrets.STAGING_PRIVATE_KEY }}
port: 22
script: |
cd $HOME/DeVouch-BE
git checkout develop
git checkout -- .
git pull
docker compose stop devouch squid-db
docker compose up -d --build
docker system prune -af