Skip to content

feat (tasks/integrations): added new effect to tasks and integrations… #66

feat (tasks/integrations): added new effect to tasks and integrations…

feat (tasks/integrations): added new effect to tasks and integrations… #66

name: Deploy Frontend to Development
on:
push:
branches:
- development
paths:
- "src/client/**"
- ".github/workflows/deploy-dev-frontend.yaml"
jobs:
deploy:
name: Deploy Frontend to Dev VM
runs-on: ubuntu-latest
steps:
- name: Deploy over SSH
uses: appleboy/[email protected]
with:
host: ${{ secrets.DEV_CLIENT_VM_HOST }}
username: ${{ secrets.DEV_CLIENT_VM_USER }}
key: ${{ secrets.DEV_CLIENT_VM_SSH_PRIVATE_KEY }}
script: |
set -e
cd ~/sentient
git pull origin development
cd src/client
echo "Building and deploying the frontend..."
docker compose down
docker compose up --build -d
echo "Cleaning up old Docker images..."
docker image prune -f