mirror of
https://github.com/doocs/md.git
synced 2024-12-01 06:42:23 +08:00
19 lines
582 B
YAML
19 lines
582 B
YAML
name: Preview Start
|
|
|
|
on: pull_request_target
|
|
|
|
jobs:
|
|
preview:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'doocs/md'
|
|
steps:
|
|
- name: Create
|
|
uses: actions-cool/maintain-one-comment@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
body: |
|
|
⚡️ Deploying PR Preview...
|
|
<img src="https://user-images.githubusercontent.com/507615/90240294-8d2abd00-de5b-11ea-8140-4840a0b2d571.gif" width="300" />
|
|
<!-- Sticky Pull Request Comment -->
|
|
body-include: '<!-- Sticky Pull Request Comment -->'
|