Skip to content

Chat bot icon changes #20

Chat bot icon changes

Chat bot icon changes #20

# Description: Front end deployment is not dockerised insted it directly copies build folder into var/www/
#Same file is used for deploying all schools and any number of domains
name: Deploy to dev server school-app
on:
push:
branches:
- prod
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
-
name: Deploy Stack
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_NAME_PROD }}
username: ${{ secrets.USERNAME_PROD }}
key: ${{ secrets.SSH_KEY_PROD }}
port: ${{ secrets.PORT_PROD }}
script: |
cd ${{ secrets.TARGET_DIR_PROD }}
./deploy.sh
-
name: Notify on Slack channel
uses: iRoachie/slack-github-actions@v2.3.2
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
status: ${{ job.status }}
if: ${{ always() }}