Skip to content

Added github action to deploy to prod (#301) #13

Added github action to deploy to prod (#301)

Added github action to deploy to prod (#301) #13

Workflow file for this run

name: Deploy on BackendTest
on:
push:
branches:
- 'develop'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Git pull and rebuild docker
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.SSHKEY }}
script: ${{ secrets.SCRIPT }}