Skip to content
Snippets Groups Projects
Verified Commit 917576b8 authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

feat: new netlify deployment structure

parent d544d087
No related branches found
No related tags found
No related merge requests found
Pipeline #692 failed
image: hivesolutions/ubuntu_dev
variables:
NETLIFY_SITE_ID: chip-ahoyto
stages:
- build
- deploy
before_script:
- apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q pkg-config nodejs npm
......@@ -35,3 +39,19 @@ build-wasm:
artifacts:
paths:
- examples/web
deploy-netlify-preview:
stage: deploy
script:
- npm install netlify-cli -g
- cd examples/web && netlify deploy --dir=.
only:
- master
deploy-netlify-prod:
stage: deploy
script:
- npm install netlify-cli -g
- cd examples/web && netlify deploy --dir=. --prod
only:
- tags
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