diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index ba6585b7..492e7dcd 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -22,7 +22,9 @@ jobs: node-version: ${{ matrix.node-version }} - run: yarn install && yarn build - run: yarn release - - run: yarn deploy:staging --token ${{ secrets.FIREBASE_TOKEN }} + - name: Deploy to staging + if: github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]' # This conditional will skip the step for Dependabot PRs + run: yarn deploy:staging --token ${{ secrets.FIREBASE_TOKEN }} - name: Upload artifacts # Find artifacts under actions/jobs uses: actions/upload-artifact@v2 with: