Skip to content

Commit 24e5e8a

Browse files
committed
fix: check deployment on prod for options
1 parent 3e482a2 commit 24e5e8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
env: ${{ steps.set-env.outputs.env }}
1919
steps:
2020
- id: set-env
21-
run: |
22-
if [ "${{ github.ref_name }}" == "master" ]; then
21+
run: |
22+
if [ "${{ github.ref_name }}" == "master" ] || [ "${{ github.ref_name }}" == "fix-cloudflare-deployment-scripts-update" ]; then
2323
export ENV=production
2424
fi
2525
26-
if [ "${{ github.ref_name }}" == "dev" ] || [ "${{ github.ref_name }}" == "fix-cloudflare-deployment-scripts-update" ]; then
26+
if [ "${{ github.ref_name }}" == "dev" ]; then
2727
export ENV=staging
2828
fi
2929

wrangler.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ routes = [
1515

1616
[env.production]
1717
routes = [
18-
{ pattern = "api-polygon-tokens.polygon.technology", custom_domain = true },
18+
{ pattern = "api-polygon-tokens-cf.polygon.technology", custom_domain = true },
1919
]

0 commit comments

Comments
 (0)