Skip to content

Commit

Permalink
Update _publish-internal.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt authored Jan 23, 2025
1 parent d525143 commit 0c5cee9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/_publish-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ defaults:
run:
shell: bash

env:
TEMP_PROFILE_NAME: "temp_aws_profile"

jobs:
package:
uses: ./.github/workflows/_package-directory.yml
Expand All @@ -62,10 +65,10 @@ jobs:
aws configure set aws_access_key_id ${{ secrets.AWS_ARCHIVE_ACCESS_KEY_ID }} --profile ${{ env.TEMP_PROFILE_NAME }}
aws configure set aws_secret_access_key ${{ secrets.AWS_ARCHIVE_SECRET_ACCESS_KEY }} --profile ${{ env.TEMP_PROFILE_NAME }}
aws configure set region ${{ secrets.AWS_REGION }} --profile ${{ env.TEMP_PROFILE_NAME }}
aws configure set output text --profile "temp_aws_profile"
aws configure set output text --profile "${{ env.TEMP_PROFILE_NAME }}
aws codeartifact login --tool twine --repository ${{ secrets.AWS_REPOSITORY }} \
--domain ${{ secrets.AWS_DOMAIN }} --domain-owner ${{ secrets.AWS_DOMAIN_OWNER }} \
--region ${{ secrets.AWS_REGION }} --profile "temp_aws_profile"
--region ${{ secrets.AWS_REGION }} --profile ${{ env.TEMP_PROFILE_NAME }}
- id: package
run: |
# strip the pre-release off to find all iterations of this patch
Expand Down

0 comments on commit 0c5cee9

Please sign in to comment.