Skip to content

Merge pull request #10 from wiemanboy/feature/satisfactory-server #15

Merge pull request #10 from wiemanboy/feature/satisfactory-server

Merge pull request #10 from wiemanboy/feature/satisfactory-server #15

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
- release/**
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy
run: |
echo "${{ secrets.PRIVATE_KEY }}" > .private_key && chmod 600 .private_key
rsync -av --exclude='data/' --exclude='.*' -e "ssh -o StrictHostKeyChecking=no -i .private_key" ./ ${{secrets.USERNAME}}@${{secrets.HOST}}:~/server
ssh -o StrictHostKeyChecking=no -i .private_key ${{secrets.USERNAME}}@${{secrets.HOST}} '
cd ~/server
make deploy
'