Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Dploy won't ever upload dev, dev should only be used for local env
- # Add theme folder name, and subdomain for staging
- # Dploy will only target the theme folder
- staging:
- host: "staging-host"
- user: "staging-user"
- pass: "staging-pass"
- scheme: "ftp"
- port: 21
- slots: 2
- check: true
- path:
- local: "content/themes/mytheme/"
- remote: "public_html/subdomain/content/themes/mytheme/"
- exclude: ["grunt/**", ".bowerrc", ".editorconfig", ".gitignore", ".jshintrc", "bower.json", "Gemfile", "Gemfile.lock", "gruntfile.js", "Gruntfile.js", "package.json", "readme.md", "README.md", "dev/", "dev/**/", "dev/**/*", ".htaccess"]
- include:
- "content/themes/mytheme/dist/**" : "content/themes/mytheme/dist/"
- production:
- host: "staging-host"
- user: "staging-user"
- pass: "staging-pass"
- scheme: "ftp"
- port: 21
- slots: 2
- branch: ["master"]
- check: true,
- path:
- local: "content/themes/mytheme/"
- remote: "public_html/subdomain/content/themes/mytheme/"
- exclude: ["grunt/**", ".bowerrc", ".editorconfig", ".gitignore", ".jshintrc", "bower.json", "Gemfile", "Gemfile.lock", "gruntfile.js", "Gruntfile.js", "package.json", "readme.md", "README.md", "dev/", "dev/**/", "dev/**/*", ".htaccess"]
- include:
- "content/themes/mytheme/dist/**" : "content/themes/mytheme/dist/"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement