chore(project): deploy website after the npm publish (#3745)

This commit is contained in:
Aex 2021-09-30 19:28:14 +08:00 committed by GitHub
parent a5dd21e94a
commit 2c7946ef73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,17 +1,21 @@
name: Deploy Doc Website
name: Deploy Docs Website
on:
push:
branches:
- master
workflow_run:
workflows: ['Publish to NPM registry']
types: [completed]
jobs:
master-deploy:
deploy-docs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.workflow_run.head_sha }}
persist-credentials: false
- name: Setup node
uses: actions/setup-node@v2
with: