ci: update preview (#69)

* Create preview-start.yml

* Create preview-build.yml

* Create preview-deploy.yml

* Delete surge-preview.yml
This commit is contained in:
xrkffgg
2021-03-29 11:30:05 +08:00
committed by GitHub
parent 7a119339df
commit 5891ef3922
4 changed files with 151 additions and 18 deletions

19
.github/workflows/preview-start.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Preview Start
on: pull_request_target
jobs:
preview:
runs-on: ubuntu-latest
steps:
- name: create
uses: actions-cool/maintain-one-comment@v1.1.0
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 -->'