element-plus/.github/workflows/pr-docs-start.yml
三咲智子 6a290ff85a
refactor(build): improve building (#7048)
* fix: fetching contributors

* refactor(build): improve building

* fix: building

* refactor: build constants

* fix: lockfile

* ci: remove token

* ci: rename

* refactor: improve docs constant
2022-04-08 14:17:44 +08:00

19 lines
513 B
YAML

name: PR Docs Start
on:
pull_request_target:
types: [opened]
jobs:
preview:
runs-on: ubuntu-latest
steps:
- name: create
uses: actions-cool/maintain-one-comment@v2.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
<img width="400" src="https://user-images.githubusercontent.com/17680888/145667098-5fc781c7-4c6d-463a-af06-133e9195c01b.png">
<!-- ELEMENT_PLUS_PREVIEW -->
body-include: '<!-- ELEMENT_PLUS_PREVIEW -->'