chore(docs): remove deploy workflow and update vercel config

This commit is contained in:
Tianen Pang 2022-08-03 09:45:57 +08:00
parent 37fb3d6989
commit 893dc53e30
No known key found for this signature in database
GPG Key ID: 981A65340742F8DF
2 changed files with 5 additions and 26 deletions

View File

@ -106,27 +106,6 @@ jobs:
tag_prefix: "v"
package_root: "./packages/react"
deploy:
needs: [publish]
runs-on: ubuntu-20.04
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Deploy to Vercel
uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-comment: true
github-token: ${{ github.token }}
# Skip the build cache and production deploy
vercel-args: '--force --prod'
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-name: ${{ secrets.VERCEL_PROJECT_NAME}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
working-directory: './apps/docs'
update_algolia_index:
needs: [publish]
runs-on: ubuntu-20.04

View File

@ -1,6 +1,6 @@
{
"version": 2,
"github": {
"enabled": false
}
"silent": false,
"autoJobCancelation": true
}
}