Update .gitlab-ci.yml file
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
stages:
|
stages:
|
||||||
|
- prepare
|
||||||
|
- build
|
||||||
|
- test
|
||||||
- update
|
- update
|
||||||
|
- deploy
|
||||||
|
|
||||||
composer_update:
|
composer_update:
|
||||||
stage: update
|
stage: update
|
||||||
@ -13,3 +17,23 @@ composer_update:
|
|||||||
key: ${CI_COMMIT_REF_SLUG}
|
key: ${CI_COMMIT_REF_SLUG}
|
||||||
paths:
|
paths:
|
||||||
- vendor/
|
- vendor/
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
stage: prepare
|
||||||
|
script:
|
||||||
|
- echo "Preparing environment..."
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- echo "Building the project..."
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- echo "Running tests..."
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- echo "Deploying the project..."
|
Reference in New Issue
Block a user