偏右
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
.github/workflows/preview.yml
|
|
@ -1,12 +1,14 @@ |
|
|
name: 🔂 Surge PR Preview |
|
|
name: 🔂 Surge PR Preview |
|
|
|
|
|
|
|
|
on: [push, pull_request_target] |
|
|
on: pull_request_target |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
preview: |
|
|
preview: |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
with: |
|
|
|
|
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge |
|
|
- uses: afc163/surge-preview@v1 |
|
|
- uses: afc163/surge-preview@v1 |
|
|
with: |
|
|
with: |
|
|
surge_token: ${{ secrets.SURGE_TOKEN }} |
|
|
surge_token: ${{ secrets.SURGE_TOKEN }} |
|
|
|