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
feat(php-sdk): add subtree split to publish workflow
firecrawl-spring[bot]d5d7da950739
diff --git a/.github/workflows/publish-php-sdk.yml b/.github/workflows/publish-php-sdk.ymlindex 21b071f25..21d800ce7 100644--- a/.github/workflows/publish-php-sdk.yml+++ b/.github/workflows/publish-php-sdk.yml@@ -15,6 +15,8 @@ jobs:steps:- name: Checkout repositoryuses: actions/checkout@v5+ with:+ fetch-depth: 0- name: Set up Pythonuses: actions/setup-python@v5@@ -47,9 +49,16 @@ jobs:working-directory: ./apps/php-sdkrun: composer validate --strict+ - name: Subtree split and push to firecrawl-php+ if: ${{ env.VERSION_INCREMENTED == 'true' }}+ run: |+ git subtree split --prefix=apps/php-sdk -b php-sdk-split+ git remote add php-sdk https://x-access-token:${{ secrets.PHP_SDK_GITHUB_TOKEN }}@github.com/firecrawl/firecrawl-php.git+ git push php-sdk php-sdk-split:main --force+- name: Notify Packagistif: ${{ env.VERSION_INCREMENTED == 'true' }}run: |curl -sfS -X POST "https://packagist.org/api/update-package?username=${{ secrets.PACKAGIST_USERNAME }}&apiToken=${{ secrets.PACKAGIST_TOKEN }}" \-H "Content-Type: application/json" \- -d '{"repository":{"url":"https://github.com/firecrawl/firecrawl"}}'+ -d '{"repository":{"url":"https://github.com/firecrawl/firecrawl-php"}}'