Update README: update instructions for starting the backend (#77) #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Transfer to dev env and run | |
on: | |
push: | |
branches: | |
- develop | |
jobs: | |
build: | |
name: Transfer to dev env and run | |
runs-on: ubuntu-latest | |
steps: | |
- name: executing remote ssh commands on dev env | |
if: github.ref == 'refs/heads/develop' | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.DEV_SERVER_IP }} | |
username: ${{ secrets.DEV_SERVER_SSH_USERNAME }} | |
key: ${{ secrets.DEV_SERVER_SSH_KEY }} | |
script: "/root/teacher-workout-backend/deploy/run.sh" |