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:
only:
- development
#==[ Frontend deployment ]======================================================
#==[ Frontend build ]===========================================================
.fe-deploy-job:
fe-build-job:
image: node:16-alpine
stage: deploy
stage: build
tags:
- commul
cache:
......@@ -92,13 +92,25 @@ be-stg-deploy-job:
- frontend/package-lock.json
paths:
- frontend/node_modules
before_script:
- ./ci/install-butler-on-alpine.sh
script:
- cd frontend
- npm install
- 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:
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