Skip to content

Instantly share code, notes, and snippets.

@jan-koch
Created September 12, 2019 05:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jan-koch/65048c4a541dee9e8b2b83c78b2042b5 to your computer and use it in GitHub Desktop.
Save jan-koch/65048c4a541dee9e8b2b83c78b2042b5 to your computer and use it in GitHub Desktop.
Module 2. Example of a phploy.ini file you can customize for your own needs. This file goes into the root of the folder you want to automatically deploy.
; This is a sample phploy.ini file. You can specify as many
; servers as you need and use normal or quickmode configuration.
;
; NOTE: If a value in the .ini file contains any non-alphanumeric
; characters it needs to be enclosed in double-quotes (").
; The server names in the brackets need to match the server names
; you reference in your Jenkinsfile.
[production]
scheme = sftp
host = your.host.name
path = path/to/the/target/folder
port = 22
user = username
pass = password
[wpm_staging]
scheme = sftp
host = your.host.name
path = path/to/the/target/folder
port = 22
user = username
pass = password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment