Skip to content

feat(deployement): auto pull #1

feat(deployement): auto pull

feat(deployement): auto pull #1

Workflow file for this run

name: Deploy
on:
push:
branches:
- deployement
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.PORT }}
script: |
cd UGent-7
${{ secrets.PULL_SCRIPT }}
docker-compose -f production.yml build --no-cache
docker-compose -f production.yml up -d