Skip to content

Commit d8ec781

Browse files
authored
Add AWS_REGION environment variable to deploy workflow (#218)
Latest changes also failed deploy, adding region to see if that fixes it. Proposed by Copilot on the failed action page. - https://github.com/clearhaus/gateway-api-docs/actions/runs/18274820163/job/52024402482
1 parent 7025489 commit d8ec781

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ jobs:
1111
env:
1212
AWS_ACCESS_KEY_ID: ${{ secrets.NONPCI_AWS_ACCESS_KEY_ID }}
1313
AWS_SECRET_ACCESS_KEY: ${{ secrets.NONPCI_AWS_SECRET_ACCESS_KEY }}
14+
AWS_REGION: "eu-west-1"
1415
steps:
1516
- uses: actions/checkout@v4
1617

1718
- name: build `prod`
1819
run: ./build/build.sh
1920

2021
- name: Deploy `prod`
21-
run: docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY clearhaus/gateway-api-docs yarnpkg deploy:production
22+
run: docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_REGION clearhaus/gateway-api-docs yarnpkg deploy:production

0 commit comments

Comments
 (0)