Skip to content

Commit abd97e1

Browse files
authored
Update deploy.yml
Adding environments
1 parent 038e320 commit abd97e1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/deploy.yml

+4
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,13 @@ jobs:
4141
needs: [test]
4242
if: github.event_name == 'release'
4343
name: Deploy to PROD
44+
strategy:
45+
matrix:
46+
environment: ['public', 'eus1', 'eus2']
4447
steps:
4548
- uses: actions/checkout@v4
4649
- name: Deploy
4750
uses: cloudflare/wrangler-action@v3
4851
with:
4952
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
53+
command: deploy --env ${{ matrix.environment }}

0 commit comments

Comments
 (0)