#!/bin/bash

# Print some environment info useful when reading CircleCI logs.
pwd
git branch

git pull
npm run build

echo "Restarting legislation-explorer service..."
sudo systemctl restart legislation-explorer.service

#!/bin/bash

# Print some environment info useful when reading CircleCI logs.
pwd
git branch

git pull
npm install
npm run build

echo "Restarting legislation-explorer service..."
sudo systemctl restart legislation-explorer.service

Add `npm install` before build
Add `npm install` before build
