Skip to content

testing in production again #50

testing in production again

testing in production again #50

Workflow file for this run

name: Deploy to Server
on:
push:
branches: 'master'
workflow_dispatch:
jobs:
build_site:
runs-on: self-hosted
steps:
- name: Install yarn
run: npm i -g yarn
- name: Pull repo
run: cd /var/www/pws; git pull
- name: Install dependencies
run: cd /var/www/pws; yarn
- name: Build website
run: cd /var/www/pws; yarn build
- name: Restart pm2
run: pm2 restart pws --update-env