Skip to content

Update @meeco/vc-api-sdk #106

Update @meeco/vc-api-sdk

Update @meeco/vc-api-sdk #106

name: Publish SDK demo on beta/stage release
on:
workflow_dispatch:
push:
tags:
- 'releases/sdk/**-beta*'
jobs:
push_sdk_demo_beta:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
# Tag all versions with `-beta` and update all inter-dependant packages to use "beta" as the version
- run: npm run beta
- name: Build SDK Demo
run: npx lerna run build --scope '@meeco/{style-kit,sdk-demo}'
- name: Deploy SDK Demo GH page
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.SDK_DOCS_DEPLOY_KEY }}
publish_dir: ./docs/sdk-demo
destination_dir: stage/sdk-demo
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
external_repository: Meeco/sdk-docs
publish_branch: master