Skip to content

Merge remote-tracking branch 'origin/develop' #2

Merge remote-tracking branch 'origin/develop'

Merge remote-tracking branch 'origin/develop' #2

Workflow file for this run

name: CI via SSH (Deploy)
on:
push:
branches: [ "main" ]
jobs:
build:
name: CI via SSH (Deploy)
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOSTNAME }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
key: ${{ secrets.SSH_KEY }}
script: |
cd be-django
git pull origin main
git checkout main
systemctl restart uwsgi