update
This commit is contained in:
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@@ -33,7 +33,7 @@ jobs:
|
|||||||
echo "BUILD_MESSAGE=${{ github.event.head_commit.message || '' }}" >> $GITHUB_ENV
|
echo "BUILD_MESSAGE=${{ github.event.head_commit.message || '' }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
@@ -128,7 +128,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
@@ -146,13 +146,16 @@ jobs:
|
|||||||
bun install -g vercel
|
bun install -g vercel
|
||||||
|
|
||||||
- name: Deploy to Vercel
|
- name: Deploy to Vercel
|
||||||
uses: amondnet/vercel-action@v25
|
run: |
|
||||||
with:
|
vercel build --token ${{ secrets.VERCEL_TOKEN }}
|
||||||
vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
|
vercel deploy --prod --token ${{ secrets.VERCEL_TOKEN }} --prebuilt
|
||||||
vercel-args: --prod # Optional
|
# uses: amondnet/vercel-action@v25
|
||||||
vercel-org-id: ${{ secrets.ORG_ID}} # Required
|
# with:
|
||||||
vercel-project-id: ${{ secrets.PROJECT_ID}} # Required
|
# vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required
|
||||||
working-directory: dist
|
# vercel-args: --prod # Optional
|
||||||
|
# vercel-org-id: ${{ secrets.ORG_ID}} # Required
|
||||||
|
# vercel-project-id: ${{ secrets.PROJECT_ID}} # Required
|
||||||
|
# working-directory: dist
|
||||||
|
|
||||||
deploy-edgeone:
|
deploy-edgeone:
|
||||||
needs: build
|
needs: build
|
||||||
@@ -167,7 +170,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
@@ -204,7 +207,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v6
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
node-version: 24
|
||||||
|
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -26,5 +26,6 @@
|
|||||||
},
|
},
|
||||||
"[yaml]": {
|
"[yaml]": {
|
||||||
"editor.defaultFormatter": "redhat.vscode-yaml"
|
"editor.defaultFormatter": "redhat.vscode-yaml"
|
||||||
}
|
},
|
||||||
|
"liveServer.settings.root": "/.output/public",
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user