Compare commits

...
Author SHA1 Message Date
github-actions 9a59fc4fe5 Release Beta 2021-01-14 12:45:04 +00:00
Sidharth Vinod 82e17f41aa Beta Deploy 2021-01-14 18:13:51 +05:30
github-actions 84c6a85545 Release 2021-01-14 12:29:56 +00:00
Sidharth Vinod 3bd5a640ec Try add 2021-01-14 17:58:49 +05:30
Sidharth Vinod 1cb42e0a88 Test build 2021-01-14 17:56:31 +05:30
Sidharth Vinod da53dab766 CI Test 2021-01-14 17:54:12 +05:30
Sidharth Vinod 9396ed376b Fix git 2021-01-14 17:50:46 +05:30
Sidharth Vinod 4bc257bace Fix install 2021-01-14 17:48:56 +05:30
Sidharth Vinod 395ea5b7f1 Beta CI Test 2021-01-14 17:47:36 +05:30
6 changed files with 2990 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
name: Beta Deploy
on:
push:
branches:
- none
# - citest
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout docs repo
uses: actions/checkout@v2
with:
repository: mermaid-js/docs
path: docs
- name: Checkout
uses: actions/checkout@v2
with:
path: main
- uses: actions/setup-node@v2
with:
node-version: '12'
- run: |
cd main
npm i -g yarn
yarn install
yarn release-beta
git config user.name github-actions
git config user.email github-actions@github.com
+28
View File
@@ -0,0 +1,28 @@
name: Deploy Live Editor Beta
on:
push:
branches:
- master
- citest
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '12'
- name: Checkout
uses: actions/checkout@v2
- name: Build & Deploy
run: |
npm i -g yarn
yarn install
yarn release-beta
git config user.name github-actions
git config user.email github-actions@github.com
git add ./docs/*
git commit -m "Release Beta"
git push
+27
View File
@@ -0,0 +1,27 @@
name: Deploy Live Editor
on:
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '12'
- name: Checkout
uses: actions/checkout@v2
- name: Build & Deploy
run: |
npm i -g yarn
yarn install
yarn release
git config user.name github-actions
git config user.email github-actions@github.com
git add ./docs/*
git commit -m "Release"
git push
+2481
View File
File diff suppressed because it is too large Load Diff
+419
View File
File diff suppressed because one or more lines are too long
+1
View File
@@ -21,6 +21,7 @@
}, },
"scripts": { "scripts": {
"release": "cross-env NODE_ENV=production webpack -p", "release": "cross-env NODE_ENV=production webpack -p",
"release-beta": "yarn release --output-path ./docs/beta",
"build": "cross-env NODE_ENV=production webpack", "build": "cross-env NODE_ENV=production webpack",
"dev": "webpack-dev-server --content-base docs", "dev": "webpack-dev-server --content-base docs",
"pretty": "prettier --write ./src/*" "pretty": "prettier --write ./src/*"