Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
fix(ci): scope secret to E2E step only, use non-secret flag for if check
Devin AI20b463f48d03
diff --git a/.github/workflows/test-php-sdk.yml b/.github/workflows/test-php-sdk.ymlindex d77625eef..5db9858f4 100644--- a/.github/workflows/test-php-sdk.yml+++ b/.github/workflows/test-php-sdk.yml@@ -19,7 +19,7 @@ jobs:name: Build and Testruns-on: blacksmith-4vcpu-ubuntu-2404env:- FIRECRAWL_API_KEY: ${{ secrets.FIRECRAWL_API_KEY }}+ HAS_API_KEY: ${{ secrets.FIRECRAWL_API_KEY != '' }}if: >-github.event_name == 'workflow_dispatch' ||github.event_name == 'pull_request' ||@@ -64,6 +64,8 @@ jobs:run: vendor/bin/pest --ci- name: Run E2E tests- if: env.FIRECRAWL_API_KEY != ''+ if: env.HAS_API_KEY == 'true'working-directory: ./apps/php-sdk+ env:+ FIRECRAWL_API_KEY: ${{ secrets.FIRECRAWL_API_KEY }}run: vendor/bin/pest --ci --group=e2e