Skip to content

Commit b14f384

Browse files
committed
ci: pause azure static web apps deploy workflow (azure resource deleted)
The Azure Static Web App resource was deleted, so deployments fail with 'No matching Static Web App was found or the api key was invalid'. Remove the push trigger to keep CI green; keep workflow_dispatch so the workflow can be re-enabled after the resource is recreated.
1 parent e7a1c9b commit b14f384

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

.github/workflows/az-swa-deploy.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
name: Azure Static Web Apps Deploy
22

3+
# ⚠️ 已暂停:Azure 上的 Static Web App 资源已被删除(2026-08),部署失败
4+
# ("No matching Static Web App was found or the api key was invalid")。
5+
# 恢复步骤:
6+
# 1. 在 Azure 门户重新创建 Static Web App 并关联本仓库;
7+
# 2. 复制新的 Deployment Token,更新 GitHub secret AZURE_STATIC_WEB_APPS_API_TOKEN;
8+
# 3. 取消下方 push 触发器的注释。
39
on:
410
workflow_dispatch:
5-
push:
6-
branches:
7-
- main
8-
paths:
9-
- 'website/**'
10-
- '.github/workflows/az-swa-deploy.yml'
11+
# push:
12+
# branches:
13+
# - main
14+
# paths:
15+
# - 'website/**'
16+
# - '.github/workflows/az-swa-deploy.yml'
1117

1218
jobs:
1319
build_and_deploy_job:

0 commit comments

Comments
 (0)