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(selfhost): deploy a playwright image (#1625)
Gergő Móricze297cf8a0dc8
diff --git a/.github/workflows/deploy-playwright.yml b/.github/workflows/deploy-playwright.ymlnew file mode 100644index 000000000..0c7bf4656--- /dev/null+++ b/.github/workflows/deploy-playwright.yml@@ -0,0 +1,34 @@+name: Deploy Playwright to GHCR++env:+ DOTNET_VERSION: '6.0.x'++on:+ push:+ branches:+ - main+ paths:+ - apps/playwright-service-ts/**+ workflow_dispatch:++jobs:+ push-app-image:+ runs-on: ubuntu-latest+ defaults:+ run:+ working-directory: './apps/playwright-service-ts'+ steps:+ - name: 'Checkout GitHub Action'+ uses: actions/checkout@main++ - name: 'Login to GitHub Container Registry'+ uses: docker/login-action@v1+ with:+ registry: ghcr.io+ username: ${{github.actor}}+ password: ${{secrets.GITHUB_TOKEN}}++ - name: 'Build Inventory Image'+ run: |+ docker build . --tag ghcr.io/mendableai/playwright-service:latest+ docker push ghcr.io/mendableai/playwright-service:latest\ No newline at end of filediff --git a/docker-compose.yaml b/docker-compose.yamlindex d3cbb3ee6..f218e9903 100644--- a/docker-compose.yaml+++ b/docker-compose.yaml@@ -46,6 +46,9 @@ x-common-env: &common-envservices:playwright-service:+ # NOTE: If you don't want to build the service locally,+ # uncomment the build: statement and comment out the image: statement+ # image: ghcr.io/mendableai/playwright-service:latestbuild: apps/playwright-service-tsenvironment:PORT: 3000