Skip to content
Snippets Groups Projects
Commit f4f4f4ec authored by Paolo.Brasolin's avatar Paolo.Brasolin
Browse files

ci: #fe build job

parent 3a746df9
No related branches found
No related tags found
No related merge requests found
Pipeline #23162 canceled
...@@ -79,11 +79,11 @@ be-stg-deploy-job: ...@@ -79,11 +79,11 @@ be-stg-deploy-job:
only: only:
- development - development
#==[ Frontend deployment ]====================================================== #==[ Frontend build ]===========================================================
.fe-deploy-job: fe-build-job:
image: node:16-alpine image: node:16-alpine
stage: deploy stage: build
tags: tags:
- commul - commul
cache: cache:
...@@ -92,13 +92,25 @@ be-stg-deploy-job: ...@@ -92,13 +92,25 @@ be-stg-deploy-job:
- frontend/package-lock.json - frontend/package-lock.json
paths: paths:
- frontend/node_modules - frontend/node_modules
before_script:
- ./ci/install-butler-on-alpine.sh
script: script:
- cd frontend - cd frontend
- npm install - npm install
- npm run build - npm run build
- butler push dist eurac/$GAME_NAME:html5 artifacts:
paths:
- dist/
#==[ Frontend deployment ]======================================================
.fe-deploy-job:
image: alpine:latest
stage: deploy
tags:
- commul
before_script:
- ./ci/install-butler-on-alpine.sh
script:
- butler push frontend/dist eurac/$GAME_NAME:html5
fe-prd-deploy-job: fe-prd-deploy-job:
extends: .fe-deploy-job extends: .fe-deploy-job
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment