Skip to content

FIX: routing issue #106

FIX: routing issue

FIX: routing issue #106

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: substitute
run: sed -i 's/%%CF_API_KEY%%/\${{ secrets.CF_API_KEY }}/g' swarm-compose.minecraft.yml
- 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
'