Automate pushing to new site.
This commit is contained in:
parent
97898b0fd5
commit
18f5554dfe
@ -215,6 +215,15 @@ module.exports = (grunt) ->
|
|||||||
""".split('\n').join('&&')
|
""".split('\n').join('&&')
|
||||||
push:
|
push:
|
||||||
command: 'git push origin --tags -f && git push origin --all'
|
command: 'git push origin --tags -f && git push origin --all'
|
||||||
|
aws:
|
||||||
|
command: """
|
||||||
|
git checkout gh-pages
|
||||||
|
aws s3 cp builds s3://<%= pkg.meta.awsBucket %>/builds --recursive
|
||||||
|
aws s3 cp img s3://<%= pkg.meta.awsBucket %>/img --recursive
|
||||||
|
aws s3 cp index.html s3://<%= pkg.meta.awsBucket %>
|
||||||
|
aws s3 cp web.css s3://<%= pkg.meta.awsBucket %>
|
||||||
|
git checkout -
|
||||||
|
""".split('\n').join('&&')
|
||||||
npm:
|
npm:
|
||||||
command: 'npm install'
|
command: 'npm install'
|
||||||
update:
|
update:
|
||||||
|
|||||||
@ -14,6 +14,7 @@
|
|||||||
"chromeStoreID": "ohnjgmpcibpbafdlkimncjhflgedgpam",
|
"chromeStoreID": "ohnjgmpcibpbafdlkimncjhflgedgpam",
|
||||||
"recaptchaKey": "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc",
|
"recaptchaKey": "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc",
|
||||||
"youtubeAPIKey": "AIzaSyB5_zaen_-46Uhz1xGR-lz1YoUMHqCD6CE",
|
"youtubeAPIKey": "AIzaSyB5_zaen_-46Uhz1xGR-lz1YoUMHqCD6CE",
|
||||||
|
"awsBucket": "4chan-x",
|
||||||
"buildsPath": "builds/",
|
"buildsPath": "builds/",
|
||||||
"mainBranch": "master",
|
"mainBranch": "master",
|
||||||
"matches": [
|
"matches": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user