only build docker

This commit is contained in:
Jonas Leder 2021-09-26 00:06:36 +02:00
parent 97f49d44ee
commit c005977218
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

@ -23,38 +23,4 @@ docker-build:
rules:
- if: $CI_COMMIT_BRANCH
exists:
- 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
- Dockerfile