Last active
April 22, 2016 10:16
-
-
Save IainIsCreative/a7ea11b2975d382848b42dafa223a3b0 to your computer and use it in GitHub Desktop.
An example file for deploying our WordPress sites in each environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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/**" : "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/**" : "dist/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment