Skip to content

force update

force update #5

Workflow file for this run

name: Deploy Production
on:
push:
branches:
- main
jobs:
build:
name: Deployment via SSH
runs-on: ubuntu-latest
steps:
- name: SSH Comands to Server
uses: fifsky/ssh-action@master
with:
host: ${{ secrets.PROD_SSH_HOST }}
user: ${{ secrets.PROD_SSH_USER }}
key: ${{ secrets.PROD_SSH_KEY}}
args: -tt
command: cd /home/webdev/Web/maucoding-web-v2 && git pull origin main && npm install && npm run build && pm2 stop mcdg-web-v2 && pm2 start mcdg-web-v2