Skip to content

Commit aaff402

Browse files
authored
chore: fix netlify deploy command (#2581)
1 parent a3262b8 commit aaff402

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/preview.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ jobs:
3030
env:
3131
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
3232
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
33-
run: npx netlify-cli deploy --alias=deploy-preview-${{github.event.number}} --dir=_site
33+
NETLIFY_DEPLOY_ALIAS: deploy-preview-${{github.event.number}}
34+
run: >
35+
npx netlify-cli deploy
36+
--dir _site
37+
--filter @patternfly/elements
38+
--alias $NETLIFY_DEPLOY_ALIAS
3439
3540
- name: Post Previews
3641
uses: actions/github-script@v6

0 commit comments

Comments
 (0)