Skip to content

fix: hanayo passes id as string lol (#35) #7

fix: hanayo passes id as string lol (#35)

fix: hanayo passes id as string lol (#35) #7

name: production-deploy
on:
push:
branches:
- master
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/akatsuki-api
git pull origin master
docker build -t akatsuki-api:latest .
cd /home/akatsuki/workbench
docker-compose stop akatsuki-api
docker-compose up -d akatsuki-api