diff --git a/.github/workflows/code-deploy-producition-quick.yml b/.github/workflows/code-deploy-producition-quick.yml index 7ba72d508..fdc6107c5 100644 --- a/.github/workflows/code-deploy-producition-quick.yml +++ b/.github/workflows/code-deploy-producition-quick.yml @@ -7,36 +7,25 @@ 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: