mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 23:06:09 +00:00
Moved rsync exclusions to a separate file.
This commit is contained in:
parent
8066899862
commit
90058c9a52
3 changed files with 5 additions and 1 deletions
|
@ -28,6 +28,6 @@ before_deploy:
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
script: rsync -r -c -v --delete-after --exclude '*.pem' --exclude '*.enc' --exclude '*.sh' $TRAVIS_BUILD_DIR/_site/ $user@$hostname:$production_path
|
script: rsync -r -c -v --delete-after --exclude-from 'ciexclude.txt' $TRAVIS_BUILD_DIR/_site/ $user@$hostname:$production_path
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
|
@ -2,6 +2,7 @@ markdown: kramdown
|
||||||
exclude:
|
exclude:
|
||||||
- README.md
|
- README.md
|
||||||
- rss.xml
|
- rss.xml
|
||||||
|
- ciexclude.txt
|
||||||
- _posts/README.md
|
- _posts/README.md
|
||||||
- assets/mockups/
|
- assets/mockups/
|
||||||
- vendor/
|
- vendor/
|
||||||
|
|
3
ciexclude.txt
Normal file
3
ciexclude.txt
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*.pem
|
||||||
|
*.enc
|
||||||
|
*.sh
|
Loading…
Add table
Add a link
Reference in a new issue