Spaces:
Sleeping
Sleeping
Yuyuqt commited on
Commit ·
2d994f2
1
Parent(s): e76245e
fix: vercel.json location
Browse files
.github/workflows/deploy.yml
DELETED
|
@@ -1,29 +0,0 @@
|
|
| 1 |
-
name: Deploy Blazor WASM to Vercel
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
branches: [ master ]
|
| 6 |
-
|
| 7 |
-
jobs:
|
| 8 |
-
build-and-deploy:
|
| 9 |
-
runs-on: ubuntu-latest
|
| 10 |
-
steps:
|
| 11 |
-
- uses: actions/checkout@v3
|
| 12 |
-
|
| 13 |
-
- name: Setup .NET
|
| 14 |
-
uses: actions/setup-dotnet@v3
|
| 15 |
-
with:
|
| 16 |
-
dotnet-version: '8.0.x' # Use your project's .NET version
|
| 17 |
-
|
| 18 |
-
- name: Publish Project
|
| 19 |
-
# We are changing the output to just 'release' (no nested subfolders)
|
| 20 |
-
run: dotnet publish BlazorWebAssembly/BlazorWebAssembly.csproj -c Release -o release
|
| 21 |
-
|
| 22 |
-
- name: Deploy to Vercel
|
| 23 |
-
uses: amondnet/vercel-action@v20
|
| 24 |
-
with:
|
| 25 |
-
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
| 26 |
-
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
|
| 27 |
-
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
|
| 28 |
-
working-directory: ./release/wwwroot
|
| 29 |
-
vercel-args: '--prod --no-wait'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BlazorWebAssembly/{wwwroot/vercel.json → vercel.json}
RENAMED
|
File without changes
|