From 1dc786e56cc2aaa4964a1b101e94b19a8be30f03 Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Tue, 3 Feb 2026 14:35:36 +0100 Subject: [PATCH 1/2] update and simplify new quick deployment workflow --- .../code-deploy-producition-quick.yml | 30 +++++++------------ .github/workflows/code-deploy-production.yml | 1 + 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/workflows/code-deploy-producition-quick.yml b/.github/workflows/code-deploy-producition-quick.yml index 7ba72d508..22e3461cc 100644 --- a/.github/workflows/code-deploy-producition-quick.yml +++ b/.github/workflows/code-deploy-producition-quick.yml @@ -7,36 +7,26 @@ on: - react-native-libraries.json jobs: - detect_changes: - runs-on: ubuntu-latest - outputs: - data_changed: ${{ steps.filter.outputs.data_changed }} - other_changed: ${{ steps.filter.outputs.other_changed }} - steps: - - uses: actions/checkout@v6 - - id: filter - name: Detect changed paths - uses: dorny/paths-filter@v3 - with: - filters: | - data_changed: - - 'react-native-libraries.json' - other_changed: - - '**' - - '!react-native-libraries.json' - build: - needs: detect_changes - if: ${{ needs.detect_changes.outputs.data_changed == 'true' && needs.detect_changes.outputs.other_changed != 'true' }} runs-on: ubuntu-latest environment: name: production url: https://reactnative.directory steps: - uses: actions/checkout@v6 + - name: Detect changed paths + uses: dorny/paths-filter@v3 + id: filter + with: + predicate-quantifier: 'every' + filters: | + only_data_changed: + - 'react-native-libraries.json' + - '!**' - name: Use Bun uses: oven-sh/setup-bun@v2 - name: Deploy + if: ${{ steps.filter.outputs.only_data_changed == 'true' }} shell: bash run: bunx vercel --force --token "$VERCEL_TOKEN" --prod --local-config /vercel-quick.json env: diff --git a/.github/workflows/code-deploy-production.yml b/.github/workflows/code-deploy-production.yml index 9b3721c1d..eb87982e7 100644 --- a/.github/workflows/code-deploy-production.yml +++ b/.github/workflows/code-deploy-production.yml @@ -6,6 +6,7 @@ on: paths-ignore: - .vscode - '**.md' + - '**.yml' - react-native-libraries.json - react-native-libraries.schema.json schedule: From 82fc0fdd55843fb783bd5c926a3515be68019bdc Mon Sep 17 00:00:00 2001 From: Bartosz Kaszubowski Date: Tue, 3 Feb 2026 14:39:24 +0100 Subject: [PATCH 2/2] remove all files negation glob --- .github/workflows/code-deploy-producition-quick.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/code-deploy-producition-quick.yml b/.github/workflows/code-deploy-producition-quick.yml index 22e3461cc..fdc6107c5 100644 --- a/.github/workflows/code-deploy-producition-quick.yml +++ b/.github/workflows/code-deploy-producition-quick.yml @@ -21,8 +21,7 @@ jobs: predicate-quantifier: 'every' filters: | only_data_changed: - - 'react-native-libraries.json' - - '!**' + - react-native-libraries.json - name: Use Bun uses: oven-sh/setup-bun@v2 - name: Deploy