Skip to content

Addded Google genAi requirement #3

Addded Google genAi requirement

Addded Google genAi requirement #3

Workflow file for this run

name: Deploy in Push to stable branch
on:
push:
branches:
- stable
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Pull and deploy on server
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} << 'EOF'
cd /home/GoSL/GoSL
git pull origin stable
sudo systemctl daemon-reload
sudo systemctl restart gunicorn
sudo systemctl reload nginx
EOF