Skip to content

build(deps-dev): bump postcss from 8.3.8 to 8.4.31 #25

build(deps-dev): bump postcss from 8.3.8 to 8.4.31

build(deps-dev): bump postcss from 8.3.8 to 8.4.31 #25

Workflow file for this run

name: Build and deploy to production
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
deployment:
if: github.repository == 'bellshade/bellshade-website'
name: Deploy to production
runs-on: ubuntu-latest
steps:
- name: Executing remote ssh commands
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd ~/bellshade/bellshade-website
git pull origin main
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
npm install
npm run build
pm2 restart ecosystem.config.js