From a6b4151e77abbc22a1c24485e5cad6b8b990fb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karolis=20Vy=C4=8Dius?= Date: Fri, 21 Jun 2024 11:35:19 +0300 Subject: [PATCH] On tag to production branch --- .github/workflows/publish-pmtiles.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-pmtiles.yml b/.github/workflows/publish-pmtiles.yml index 31890f4..4752361 100644 --- a/.github/workflows/publish-pmtiles.yml +++ b/.github/workflows/publish-pmtiles.yml @@ -123,6 +123,7 @@ jobs: apiToken: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_PAGES_ACCOUNT_ID }} gitHubToken: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ startsWith(github.ref, 'refs/tags/') && 'production' || (github.head_ref || github.ref_name) }} projectName: national-boundaries directory: output wranglerVersion: '3'