Skip to content

Instantly share code, notes, and snippets.

@mikegreen
Created November 14, 2019 02:06
Show Gist options
  • Save mikegreen/5ac350fa5a5475f0d7c36348d58587e6 to your computer and use it in GitHub Desktop.
Save mikegreen/5ac350fa5a5475f0d7c36348d58587e6 to your computer and use it in GitHub Desktop.
#!/bin/bash
# supports https://docs.google.com/document/d/1N-5cyHh2YYwvtq5ntw0lKZ4MH_YvVatVqAd3nKu_9-Y/edit?usp=sharing
cd /home/ec2-user/forum-work/pnp_forum
git pull
sudo rm -r -f /var/www/html/forum/cache/
sudo cp -r ./ /var/www/html/forum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment