Skip to content

fixed dockerfile

fixed dockerfile #27

Workflow file for this run

name: Deploy to Server
on:
push:
branches:
- main
paths:
- 'backend/**'
jobs:
deploy:
runs-on: ubuntu-latest
env:
SECRETS_URL: ${{ secrets.SECRETS_URL }}
steps:
- name: Check Out Repository
uses: actions/checkout@v2
- name: SSH Deploy
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
script: |
cd server
cd backend
bash deploy.sh