Skip to content

Commit 665e841

Browse files
committed
[ADD] Adding another configuration file for production level configurations. This production file will contain configurations for production deployment.
1 parent 7d4ce55 commit 665e841

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![Travis build](https://travis-ci.org/ultimatecoder/ultimatecoder.github.io.svg?branch=master)
1+
![Travis build](https://travis-ci.org/ultimatecoder/Blog.svg?branch=master)
22

33
# Blog - [Jaysinh's own heed](http://blog.jaysinh.com)
44

_config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ description: > # this means to ignore newlines until "baseurl:"
2121
my blog posts to identify my taste of writing.
2222
2323
baseurl: "" # the subpath of your site, e.g. /blog
24-
url: "http://blog.jaysinh.com" # the base hostname & protocol for your site, e.g. http://example.com
2524
twitter_username: jaysinhp
2625
github_username: ultimatecoder
2726

_config_production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
url: "http://blog.jaysinh.com" # the base hostname & protocol for your site, e.g. http://example.com

scripts/deploy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
bundle exec jekyll build --config _config_production.yml,_config.yml
4+
35
chmod 600 ./keypair.pem || exit
46

57
rsync -avr --rsh="ssh -i keypair.pem -o StrictHostKeyChecking=no" --delete-after --delete-excluded _site/ travis_ftp@jaysinh.com:/blog/ || exit

scripts/test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
./scripts/build
2-
bundle exec htmlproofer ./_site/ --file-ignore "/.+\/_site\/tags.+/" --url-ignore "/chameleon.kingdomofmysteries.xyz/,/https://reps.mozilla.org/e/maker-party-gujarat/" --only-4xx
2+
bundle exec htmlproofer ./_site/ --only-4xx

0 commit comments

Comments
 (0)