feat: add preview deploys with netlify
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2021-11-10 20:41:46 +01:00
parent 1cef4f6e0b
commit d894f6c3c9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
5 changed files with 6011 additions and 109 deletions

View File

@ -1,8 +1,6 @@
kind: pipeline
name: build
# TODO: update translations only nightly
trigger:
branch:
include:
@ -138,6 +136,17 @@ steps:
- failure
- success
- name: deploy-preview
image: node:16
pull: true
environment:
NETLIFY_AUTH_TOKEN:
from_secret: netlify_auth_token
commands:
- netlify deploy
depends_on:
- build-prod
---
kind: pipeline
name: release-latest

3
.gitignore vendored
View File

@ -26,3 +26,6 @@ stats.html
# Test files
cypress/screenshots
cypress/videos
# Local Netlify folder
.netlify

3
netlify.toml Normal file
View File

@ -0,0 +1,3 @@
[build]
command = "yarn build"
publish = "dist"

View File

@ -70,6 +70,7 @@
"express": "4.17.1",
"faker": "5.5.3",
"jest": "27.3.1",
"netlify-cli": "^6.14.19",
"postcss": "8.3.11",
"rollup": "2.59.0",
"rollup-plugin-visualizer": "5.5.2",

6100
yarn.lock

File diff suppressed because it is too large Load Diff