Skip to content

Commit

Permalink
Try setting AWS region via env var
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Jan 26, 2024
1 parent 0a32ebd commit 0812ee9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
yarn oclif upload tarballs
--targets=linux-x64,linux-arm64,darwin-x64,darwin-arm64
env:
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -79,6 +80,7 @@ jobs:
- name: Upload to S3
run: yarn oclif upload win
env:
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -116,6 +118,7 @@ jobs:
- name: Upload to S3
run: yarn oclif upload macos
env:
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Expand Down Expand Up @@ -205,6 +208,7 @@ jobs:
rev-parse --short ${{ github.sha }}) --win --macos
--targets=linux-x64,linux-arm64,darwin-x64,darwin-arm64
env:
AWS_REGION: eu-central-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@
},
"s3": {
"xz": true,
"host": "https://s3.eu-central-1.amazonaws.com",
"bucket": "mittwald-cli"
}
}
Expand Down

0 comments on commit 0812ee9

Please sign in to comment.