2022-04-08 14:17:44 +08:00
|
|
|
name: PR Docs Start
|
2021-12-11 00:27:29 +08:00
|
|
|
|
2022-04-08 02:44:13 +08:00
|
|
|
on:
|
|
|
|
pull_request_target:
|
|
|
|
types: [opened]
|
2021-12-11 00:27:29 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
preview:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: create
|
2022-08-13 15:09:07 +08:00
|
|
|
uses: actions-cool/maintain-one-comment@v3.0.0
|
2021-12-11 00:27:29 +08:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
body: |
|
2021-12-11 17:58:05 +08:00
|
|
|
<img width="400" src="https://user-images.githubusercontent.com/17680888/145667098-5fc781c7-4c6d-463a-af06-133e9195c01b.png">
|
2021-12-11 00:27:29 +08:00
|
|
|
<!-- ELEMENT_PLUS_PREVIEW -->
|
|
|
|
body-include: '<!-- ELEMENT_PLUS_PREVIEW -->'
|