Skip to content

Instantly share code, notes, and snippets.

@fatihturan
Created Mar 23, 2021
Embed
What would you like to do?
image: node:10 # change to match your node version
cache:
paths:
- node_modules/
before_script:
- rm -rf build
- npm install
pages:
stage: deploy
script:
- npm run build
- rm -rf public
- mv build public
artifacts:
paths:
- public
only:
- master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment