This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Laravel to VPS | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| jobs: | |
| deploy: | |
| name: CI/CD to VPS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #use bitbucket development variables where you see in the yaml script ---> ${VARIABLE} or $VARIABLE | |
| prepare-docker-image-for-laravel: &prepare-docker-image-for-laravel | |
| name: prepare docker image | |
| artifacts: | |
| - vendor/** | |
| - composer | |
| #services: | |
| # - mysql | |
| script: |