From 2d6ff3dec609114a54247b93db27c0e23f3145f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Di=C3=B3genes=20Fernandes?= Date: Thu, 27 Feb 2025 10:59:29 -0300 Subject: [PATCH] cloudflare account id MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: DiĆ³genes Fernandes --- .github/workflows/deploy-search-worker.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-search-worker.yml b/.github/workflows/deploy-search-worker.yml index 4982b05..7113272 100644 --- a/.github/workflows/deploy-search-worker.yml +++ b/.github/workflows/deploy-search-worker.yml @@ -1,8 +1,10 @@ name: Deploy Search Worker on: - push -# paths: -# - 'search/worker/**' + push: + branches: + - main + paths: + - 'search/worker/**' jobs: deploy: @@ -23,7 +25,7 @@ jobs: run: npm ci - name: Deploy Wrangler env: - CLOUDFLARE_ACCOUNT_ID: 919942d1077740aa3cff8c6cf511147a + CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} run: | npm run deploy