2021-11-24 23:30:45 +08:00
|
|
|
name: Preview Start
|
|
|
|
|
|
|
|
on: pull_request_target
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
preview:
|
|
|
|
runs-on: ubuntu-latest
|
2023-12-15 20:32:18 +08:00
|
|
|
if: github.repository == 'doocs/md'
|
2021-11-24 23:30:45 +08:00
|
|
|
steps:
|
2021-12-03 17:33:53 +08:00
|
|
|
- name: Create
|
2023-05-10 19:58:10 +08:00
|
|
|
uses: actions-cool/maintain-one-comment@v3
|
2021-11-24 23:30:45 +08:00
|
|
|
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 -->'
|