You've already forked monolog-handlers
back to working
This commit is contained in:
24
.gitlab-ci.yml
Normal file
24
.gitlab-ci.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
unit-test:
|
||||
stage: test
|
||||
image: siteworxpro/composer
|
||||
only:
|
||||
- branches
|
||||
script:
|
||||
- composer install
|
||||
- composer run unit
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
image: alpine:latest
|
||||
only:
|
||||
- tags
|
||||
tags:
|
||||
- build
|
||||
script:
|
||||
- apk add curl
|
||||
- 'curl -iL --insecure --header "Job-Token: $CI_JOB_TOKEN" --data tag=${CI_COMMIT_TAG} "${CI_API_V4_URL}/projects/$CI_PROJECT_ID/packages/composer"'
|
||||
environment: production
|
||||
Reference in New Issue
Block a user