feat: add preview deploys with netlify #972

Merged
konrad merged 7 commits from feature/netlify-preview into main 2021-11-10 21:25:50 +00:00
5 changed files with 6011 additions and 109 deletions
Showing only changes of commit d894f6c3c9 - Show all commits

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