Skip to content

Deploy 0.1.1 (#28)

Deploy 0.1.1 (#28) #6

Workflow file for this run

name: CD Pipeline
on:
push:
branches:
- prod
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy using ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PRIVATE_KEY }}
port: 22
script: |
cd /root/job-market-analysis
git pull origin prod
if [ $? -ne 0 ]; then
exit 1
fi
docker compose build