build: remove surge pr preview action (#8586)
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
name: Deploy Site
|
name: Deploy Site
|
||||||
on: push
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
name: 🔂 Surge PR Preview
|
|
||||||
|
|
||||||
on: pull_request
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
preview:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
env:
|
|
||||||
PUBLIC_PATH: '/'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: afc163/surge-preview@v1
|
|
||||||
with:
|
|
||||||
surge_token: ${{ secrets.SURGE_TOKEN }}
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
build: |
|
|
||||||
yarn
|
|
||||||
./node_modules/.bin/vant-cli build-site
|
|
||||||
dist: site
|
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
|
name: Create Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||||
|
|
||||||
name: Create Release
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
|
|||||||
Reference in New Issue
Block a user