Skip to content

adjust build

adjust build #23

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build:
name: Deploy to server
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@v0.1.8
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd containers/coach-admin-sl
git pull
sudo docker build -t coach-admin-sl .
sudo docker-compose up -d