back to working

This commit is contained in:
2024-09-30 20:56:51 -04:00
commit 031aeeb4b3
7 changed files with 1171 additions and 0 deletions

24
.gitlab-ci.yml Normal file
View 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