Skip to content

Instantly share code, notes, and snippets.

@ddrigass
Created August 7, 2020 11:00
Show Gist options
  • Save ddrigass/1ad9603fce6a1a852a9b0c272291f141 to your computer and use it in GitHub Desktop.
Save ddrigass/1ad9603fce6a1a852a9b0c272291f141 to your computer and use it in GitHub Desktop.
Wordpress Cpanel deployment file (for git)
deployment:
tasks:
- export WPC=/home/coelix/public_html/wp-content/
- /bin/rm -rf $WPC
- /bin/mkdir $WPC
- /bin/cp -r * $WPC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment