mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
chore(docs): remove deploy workflow and update vercel config
This commit is contained in:
parent
37fb3d6989
commit
893dc53e30
21
.github/workflows/main.yaml
vendored
21
.github/workflows/main.yaml
vendored
@ -106,27 +106,6 @@ jobs:
|
|||||||
tag_prefix: "v"
|
tag_prefix: "v"
|
||||||
package_root: "./packages/react"
|
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:
|
update_algolia_index:
|
||||||
needs: [publish]
|
needs: [publish]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|||||||
10
vercel.json
10
vercel.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"github": {
|
||||||
"github": {
|
"silent": false,
|
||||||
"enabled": false
|
"autoJobCancelation": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user