Skip to content

Update docker configuration #6

Update docker configuration

Update docker configuration #6

Workflow file for this run

name: Deploy to remote web server
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: SSH into remote server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
key: ${{ secrets.REMOTE_SSH_KEY }}
script: |
cd ~/geertroksdotcom-Portfoliosite
git pull origin master
docker-compose build
docker-compose down
docker-compose up --build -d