Skip to content

Update dockerization & pull secrets from vault (#1) #1

Update dockerization & pull secrets from vault (#1)

Update dockerization & pull secrets from vault (#1) #1

name: production-deploy
on:
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Run deploy on production
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
script_stop: true
script: |
cd /home/akatsuki/performance-service
git pull origin main
docker build -t performance-service:latest .
cd /home/akatsuki/workbench
docker-compose restart performance-service-api performance-service-processor