Skip to content

TEST: mod support

TEST: mod support #62

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
'