Skip to content
Snippets Groups Projects
Commit e269ef18 authored by Benjamin Treels's avatar Benjamin Treels
Browse files

Update gitlab ci

parent 508e34f0
No related branches found
No related tags found
No related merge requests found
Pipeline #40223 failed
# The Docker image that will be used to build your app
image: node:latest image: node:latest
pages: pages:
stage: deploy
script: script:
- npm install - npm install
- npm run build - npm run build
- mv ./build public - mv ./build public
artifacts: artifacts:
paths: paths:
# The folder that contains the files to be exposed at the Page URL
- public - public
only: rules:
- master # This ensures that only pushes to the default branch will trigger
\ No newline at end of file # a pages deploy
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment