Beta Deploy

This commit is contained in:
Sidharth Vinod
2021-01-14 18:13:51 +05:30
parent 84c6a85545
commit 82e17f41aa
4 changed files with 42 additions and 13 deletions
+5 -4
View File
@@ -2,7 +2,7 @@ name: Beta Deploy
on:
push:
branches:
- master
- none
# - citest
jobs:
build:
@@ -28,6 +28,7 @@ jobs:
cd main
npm i -g yarn
yarn install
git config --global user.name github-actions
git config --global user.email github-actions@github.com
./bin/beta-release
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
+8 -9
View File
@@ -1,27 +1,26 @@
name: Beta Deploy
name: Deploy Live Editor
on:
push:
branches:
- release
- citest
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
- run: |
- name: Checkout
uses: actions/checkout@v2
- name: Build & Deploy
run: |
npm i -g yarn
yarn install
yarn release
git config --global user.name github-actions
git config --global user.email github-actions@github.com
git config user.name github-actions
git config user.email github-actions@github.com
git add ./docs/*
git commit -m "Release"
git push
+1
View File
@@ -21,6 +21,7 @@
},
"scripts": {
"release": "cross-env NODE_ENV=production webpack -p",
"release-beta": "yarn release --output-path ./docs/beta",
"build": "cross-env NODE_ENV=production webpack",
"dev": "webpack-dev-server --content-base docs",
"pretty": "prettier --write ./src/*"