build: add render.yaml

This commit is contained in:
metonym 2021-09-28 09:10:56 -07:00
commit 01637e6ae6

11
render.yaml Normal file
View file

@ -0,0 +1,11 @@
services:
- type: web
name: carbon-components-svelte
env: static
buildCommand: cd docs; yarn; yarn build
staticPublishPath: docs/dist
pullRequestPreviewsEnabled: true
routes:
- type: rewrite
source: /*
destination: /index.html