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'