Skip to content

feat(application): implement auto-deletion of empty application voice… #19

feat(application): implement auto-deletion of empty application voice…

feat(application): implement auto-deletion of empty application voice… #19

Workflow file for this run

name: Deploy to PROD
on:
push:
branches:
- main
jobs:
build:
name: Deploy
runs-on: ubuntu-latest
environment: Production
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@v1.0.1
with:
host: ${{ secrets.SSH_HOST }}
port: ${{ secrets.SSH_PORT }}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
script: |
cd ./bot/prod
# Pull new changes
git pull
# Build new Docker Image
echo ${{ secrets.SSH_PASSWORD }} | sudo -S docker compose build
# Restart Compose Services
echo ${{ secrets.SSH_PASSWORD }} | sudo -S docker compose up -d --force-recreate