Skip to content

git pull before deploy #141

git pull before deploy

git pull before deploy #141

Workflow file for this run

name: Deploy to prod
on:
push:
branches:
- main
jobs:
deploy-to-prod:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Execute remote ssh commands
uses: appleboy/ssh-action@master
with:
host: 178.174.177.236
port: 444
username: elitan
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd ~/code/srai
./scripts/deploy.sh