Skip to content

Commit d2815f8

Browse files
fix github action
1 parent 25c02b1 commit d2815f8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy-lowcoder-sdk-webpack-netlify.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Builds client/packages/lowcoder-sdk-webpack-bundle and deploys its dist/ folder to Netlify.
22
#
3+
# Deploy uses --no-build so Netlify CLI does not run the site UI "build command" (e.g. expo).
4+
# The webpack bundle is built in the prior CI step.
5+
#
36
# Repository secrets (Netlify: Site settings → General → Site details → Site ID;
47
# User settings → Applications → Personal access tokens):
58
# NETLIFY_AUTH_TOKEN — Netlify personal access token
@@ -49,4 +52,4 @@ jobs:
4952
env:
5053
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
5154
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SDK_SITE_ID }}
52-
run: npx --yes netlify-cli deploy --prod --dir=dist
55+
run: npx --yes netlify-cli deploy --prod --dir=dist --no-build

0 commit comments

Comments
 (0)