Skip to content

Merge pull request #59 from Tekken-Supporter/feature/sw0501 #52

Merge pull request #59 from Tekken-Supporter/feature/sw0501

Merge pull request #59 from Tekken-Supporter/feature/sw0501 #52

Workflow file for this run

name: GCP CI/CD
on:
push:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
port: 22
script: |
cd ${{ secrets.PWD }}
git pull https://${{ secrets.GIT_TOKEN }}:[email protected]/Tekken-Supporter/Backend.git develop
npm install
pm2 restart tekken7