md/.github/workflows/preview-start.yml
2023-12-15 20:32:18 +08:00

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 -->'