Files
mermaid-live-editor/.github/workflows/deploy.yml
T
Sidharth Vinod 6dc24ded90 Merge branch 'master-holder'
* master-holder: (72 commits)
  Release 1.22.10
  Clipboard icon
  Release 1.22.10
  Space for tabs
  Release 1.22.10
  Nojekyll
  Release 1.22.10
  Fix path
  Release 1.22.10
  Disable jekyll
  Release 1.22.10
  Fix base path
  Release 1.22.10
  Hide editor on mobile
  Remove netlify
  Remove doce
  Try netlify
  Release 1.22.10
  Rename branch
  Deploy
  ...
2021-05-23 00:55:03 +05:30

29 lines
649 B
YAML

name: Deploy Live Editor
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Checkout
uses: actions/checkout@v2
- name: Build & Deploy
run: |
npm i -g yarn
yarn install
yarn version --patch --no-git-tag-version
export CI=true
yarn build
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Release $(yarn version --version)"
git push