Browse Source

Tweaking script

environments/production/deployments/9
Drew Short 9 years ago
parent
commit
85fa0055a7
  1. 20
      package-and-deploy.sh

20
package-and-deploy.sh

@ -9,8 +9,22 @@
# commit the changes
# push the changes to github
cp DPSResume.pdf ..
cp ResumeSite.tar.gz ..
cp DPSResume.pdf ~
cp ResumeSite.tar.gz ~
git clean -f .
# Prepare the current directory
git clean -fq .
git clean -Xq
git checkout .
#Checkout the deployment directory
git checkout tags/gh-pages
# Copy the files
tar -zxvf ~/ResumeSite.tar.gz .
cp ~/DPSResume.pdf .
# Add the files
git add .
git commit -m "Auto updating resume site files"
git push origin gh-pages
Loading…
Cancel
Save