mirror of
https://github.com/seigler/dash-website
synced 2025-07-26 06:46:10 +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:
|
||||
provider: script
|
||||
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:
|
||||
branch: master
|
||||
|
|
|
@ -2,6 +2,7 @@ markdown: kramdown
|
|||
exclude:
|
||||
- README.md
|
||||
- rss.xml
|
||||
- ciexclude.txt
|
||||
- _posts/README.md
|
||||
- assets/mockups/
|
||||
- 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