Skip to content

Deploy

Deploy #3

Workflow file for this run

name: Deploy
on:
workflow_run:
workflows: [ 'Pull' ]
types: [ completed ]
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Update and restart docker containers with ssh
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
script: make -C ${{ vars.PROJECT_DIR }} update