Skip to content

Commit

Permalink
add circleci config for deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
rekmarks authored and jennypollack committed Feb 20, 2020
1 parent a66f34a commit 379c420
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ jobs:
cd project
rm -rf .circleci
npx uncrate
git checkout $TARGET_BRANCH
cp -r dist/* .
rm -rf dist
npm run build
cd docs/dist
git checkout $TARGET_BRANCH
git add -A
git commit -m "Automated deployment: ${CIRCLE_SHA1} [ci skip]" --allow-empty
git push origin $TARGET_BRANCH
git push -f origin $TARGET_BRANCH
fi
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
dist
1 change: 1 addition & 0 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const { fs, path } = require('@vuepress/shared-utils')

module.exports = ctx => ({
dest: 'docs/dist',
base: '/metamask-docs/',

locales: {
'/': {
Expand Down
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ footer: MIT Licensed | Austin Akers

* [Learning Solidity](https://karl.tech/learning-solidity-part-1-deploy-a-contract/) by karl Floersch
* [CryptoZombies](https://cryptozombies.io/)

0 comments on commit 379c420

Please sign in to comment.