Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2019-08-01 00:54:28 +0300
committerMark Otto <markdotto@gmail.com>2019-08-01 00:54:28 +0300
commit6a1ff8b4e267c93ae460e57260931aa1104e62f7 (patch)
tree9c5f5d702c8571c82e5d8e5e2297991edb8a49d3
parentb2910ff4c95bbb7b368557b608660766e41be5be (diff)
add publish script
-rw-r--r--docs/CNAME1
-rw-r--r--package.json4
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/CNAME b/docs/CNAME
new file mode 100644
index 000000000..6738a7bee
--- /dev/null
+++ b/docs/CNAME
@@ -0,0 +1 @@
+icons.getbootstrap.com
diff --git a/package.json b/package.json
index ace256b02..736f7fd03 100644
--- a/package.json
+++ b/package.json
@@ -3,7 +3,9 @@
"version": "1.0.0",
"description": "Official open source icon library for Bootstrap",
"scripts": {
- "prep-icons": "svgo --config=svgo.yml --input=icons/"
+ "prep-icons": "svgo --config=svgo.yml --input=icons/",
+ "push-pages": "cd _site && git init && git remote add staging https://github.com/twbs/icons/ && git add . && git commit -m 'Publishing latest changes' && git push staging master:gh-pages --force && git remote rm staging",
+ "publish": "jekyll build && npm run push-pages"
},
"repository": {
"type": "git",