Skip to content

content: add image and text to contact page #17

content: add image and text to contact page

content: add image and text to contact page #17

name: preview.rconnect.tech
on:
push:
branches:
- new-site
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: SSH and deploy node app
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
cd ./preview/rconnect.tech
git reset --hard
git pull origin new-site
cd ./frontend
npm install
npm run build
pm2 restart preview