See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope> is optional
| # Auto deploy staging to staging | |
| # Manual deploy master to production | |
| image: php:7.1.29 | |
| pipelines: | |
| branches: | |
| staging: | |
| - step: | |
| name: Deploy to Staging | |
| script: |
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |