Update @meeco/vc-api-sdk #106
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |