Automate pushing to new site.
This commit is contained in:
parent
97898b0fd5
commit
18f5554dfe
@ -215,6 +215,15 @@ module.exports = (grunt) ->
|
||||
""".split('\n').join('&&')
|
||||
push:
|
||||
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:
|
||||
command: 'npm install'
|
||||
update:
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
"chromeStoreID": "ohnjgmpcibpbafdlkimncjhflgedgpam",
|
||||
"recaptchaKey": "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc",
|
||||
"youtubeAPIKey": "AIzaSyB5_zaen_-46Uhz1xGR-lz1YoUMHqCD6CE",
|
||||
"awsBucket": "4chan-x",
|
||||
"buildsPath": "builds/",
|
||||
"mainBranch": "master",
|
||||
"matches": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user