Skip to content

Add missing deploy step for Dockerfile to work properly, and update R… #9

Add missing deploy step for Dockerfile to work properly, and update R…

Add missing deploy step for Dockerfile to work properly, and update R… #9

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_SSH_KEY }}
script: |
cd ${{secrets.APP_FOLDER}}
./scripts/server_update.sh