only build docker
This commit is contained in:
parent
97f49d44ee
commit
c005977218
1 changed files with 1 additions and 35 deletions
|
@ -23,38 +23,4 @@ docker-build:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
exists:
|
exists:
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
|
|
||||||
pages-build:node:
|
|
||||||
image: node:lts-alpine
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- mkdir public/js
|
|
||||||
- mkdir public/css
|
|
||||||
- yarn install
|
|
||||||
- yarn compile
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public/
|
|
||||||
|
|
||||||
pages-build:php:
|
|
||||||
image: composer:2
|
|
||||||
stage: build
|
|
||||||
script:
|
|
||||||
- cd public/API
|
|
||||||
- composer install
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public/
|
|
||||||
|
|
||||||
pages:
|
|
||||||
image: busybox
|
|
||||||
stage: deploy
|
|
||||||
script:
|
|
||||||
- echo "Nothing to do"
|
|
||||||
dependencies:
|
|
||||||
- pages-build:node
|
|
||||||
- pages-build:php
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- public
|
|
Loading…
Reference in a new issue