Skip to content

Commit c771cfd

Browse files
committed
Add no-build flag for Netlify deployments
1 parent eff9b7c commit c771cfd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/draft-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
2525
NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }}
2626
with:
27-
args: deploy --dir=build
27+
args: deploy --dir=build --no-build
2828

2929
- name: Find comment
3030
uses: peter-evans/find-comment@v3

.github/workflows/test-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
2626
NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }}
2727
with:
28-
args: deploy --dir=build --alias="$GITHUB_REF_NAME"
28+
args: deploy --dir=build --alias="$GITHUB_REF_NAME" --no-build

0 commit comments

Comments
 (0)