Skip to content

Merge pull request #359 from growingio/minip #337

Merge pull request #359 from growingio/minip

Merge pull request #359 from growingio/minip #337

Workflow file for this run

name: release
on:
push:
branches: [master]
release:
types: [published]
jobs:
gh-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages
env:
USE_SSH: true
GIT_USER: GIOSDK
run: |
git config --global user.email "[email protected]"
git config --global user.name "GIOSDK"
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
else
npm i
fi
npm run deploy