Skip to content

Instantly share code, notes, and snippets.

@IainIsCreative
Last active April 22, 2016 10:16
Show Gist options
  • Save IainIsCreative/a7ea11b2975d382848b42dafa223a3b0 to your computer and use it in GitHub Desktop.
Save IainIsCreative/a7ea11b2975d382848b42dafa223a3b0 to your computer and use it in GitHub Desktop.

Revisions

  1. IainIsCreative revised this gist Apr 22, 2016. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions dploy.example.yaml
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ staging:
    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/"
    "content/themes/mytheme/dist/**" : "dist/"

    production:
    host: "staging-host"
    @@ -31,4 +31,4 @@ production:
    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/"
    "content/themes/mytheme/dist/**" : "dist/"
  2. IainIsCreative revised this gist Apr 21, 2016. No changes.
  3. IainIsCreative created this gist Apr 21, 2016.
    34 changes: 34 additions & 0 deletions dploy.example.yaml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    # 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/"