Skip to content

Instantly share code, notes, and snippets.

@katzueno
Last active August 29, 2015 14:12
Show Gist options
  • Save katzueno/9b13bd911593dc9c13a7 to your computer and use it in GitHub Desktop.
Save katzueno/9b13bd911593dc9c13a7 to your computer and use it in GitHub Desktop.
Bitbucket & GitHub deployment code
#
# .gitignore sample for concrete5 & WordPress projects
#
# ignore system files
.DS_Store
thumbs.db
__MACOSX
._*
# ignore the error log and .htaccess and others
error_log
.htaccess
.ftpquota
#ignore everything but the index.html
/application/config/database.php
/application/files/*
/config/site.php
/files/*
!/files/index.html
/wp-content/blogs.dir/*
/wp-content/cache/*
/wp-content/uploads/*
# ignore sitemap.xml
sitemap.xml
# Ignore hook log
deployments.php
deployments.log
<?php
/*
* Please check
* https://github.com/katzueno/git-Auto-Deploy-PHP-Script-Webhooks
*
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment