Skip to content

Commit

Permalink
Merge pull request #74 from 47deg/fix-deployment
Browse files Browse the repository at this point in the history
Simplify deploy script by not using git-subtree
  • Loading branch information
purrgrammer authored Dec 13, 2018
2 parents 00050ab + c2daa02 commit f0abed9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@
git config --global user.name $USER_NAME
git config --global user.email $USER_EMAIL

# Pull latest version of published subtree
git checkout master
git subtree pull --prefix=docs --message="[skip ci] Update subtree" https://47deg:$GITHUB_API_KEY@github.com/47deg/47deg.github.io.git master

# Build & Commit built site
git checkout master
lein run
git add docs
git commit -m "[skip ci] Generate site"
git push https://47deg:$GITHUB_API_KEY@github.com/47deg/org master

# Push built subtree to official website
git subtree push --prefix=docs https://47deg:$GITHUB_API_KEY@github.com/47deg/47deg.github.io.git master

0 comments on commit f0abed9

Please sign in to comment.