Skip to content

ci check 6

ci check 6 #8

name: Docker Image CI
on:
push:
paths:
- 'backend/**'
jobs:
push_to_rigistry:
name: Rerun Docker compose in server
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_KEY }}
- name : SSH into digital ocean server
run : ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_IP }} "~/switchr_commands.sh"