File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 outputs :
1212 web : ${{ steps.filter.outputs.web }}
1313 admin : ${{ steps.filter.outputs.admin }}
14+ shared : ${{ steps.filter.outputs.shared }}
1415 root : ${{ steps.filter.outputs.root }}
1516 steps :
1617 - name : Checkout repository
2526 - 'apps/web/**'
2627 admin:
2728 - 'apps/admin/**'
29+ shared:
30+ - 'packages/**'
2831 root:
2932 - 'package.json'
3033 - 'pnpm-lock.yaml'
3639 name : Deploy Web (Stage)
3740 runs-on : ubuntu-latest
3841 needs : detect-changes
39- if : needs.detect-changes.outputs.web == 'true' || needs.detect-changes.outputs.root == 'true'
42+ if : needs.detect-changes.outputs.web == 'true' || needs.detect-changes.outputs.shared == 'true' || needs.detect-changes.outputs. root == 'true'
4043 env :
4144 VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
4245 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID_WEB_STAGE }}
@@ -124,7 +127,7 @@ jobs:
124127 name : Deploy Admin (Stage)
125128 runs-on : ubuntu-latest
126129 needs : detect-changes
127- if : needs.detect-changes.outputs.admin == 'true' || needs.detect-changes.outputs.root == 'true'
130+ if : needs.detect-changes.outputs.admin == 'true' || needs.detect-changes.outputs.shared == 'true' || needs.detect-changes.outputs. root == 'true'
128131 env :
129132 VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
130133 VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID_ADMIN_STAGE }}
You can’t perform that action at this time.
0 commit comments