Skip to content

feat: add docker build #15

feat: add docker build

feat: add docker build #15

Workflow file for this run

name: Deploy api-sirekap-kpu
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Deploy
uses: appleboy/ssh-action@v1.0.0
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
script: |
cd /var/www/api-sirekap-kpu || exit 1
git pull || exit 1
npm i && pm2 reload ecosystem.config.cjs || exit 1
pm2 save