Skip to content

Update README

Update README #14

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 --ff-only origin master
docker compose build
docker compose down
docker compose up --build -d
docker image prune -f