Skip to content

Commit aead3fb

Browse files
authored
Merge pull request #5137 from dapr/fix/workflow-dispatch-v1-13
fix: allow workflow_dispatch for v1.13 SWA deployment
2 parents 2a8c3d3 + 35e8097 commit aead3fb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/website-v1-13.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
jobs:
1414
build_and_deploy_job:
15-
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
15+
if: github.event.action != 'closed'
1616
runs-on: ubuntu-latest
1717
name: Build and Deploy Job
1818
steps:
@@ -22,6 +22,10 @@ jobs:
2222
fetch-depth: 0
2323
- name: Setup Docsy
2424
run: cd daprdocs && git submodule update --init --recursive && sudo npm install -D --save autoprefixer && sudo npm install -D --save postcss-cli
25+
- name: Exclude translations (reduce build size for Free tier)
26+
run: |
27+
rm -rf daprdocs/content/zh-hans translations/docs-zh
28+
# SDK docs kept for reference integrity
2529
- name: Build And Deploy
2630
id: builddeploy
2731
uses: Azure/static-web-apps-deploy@v1

0 commit comments

Comments
 (0)