Skip to content

Commit

Permalink
Refactor to python.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Aug 16, 2024
1 parent 71f640c commit 4131336
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ jobs:
def fetch_build_version_s3(build_version_file):
s3 = boto3.client(
's3',
aws_access_key_id=os.environ.get("AWS_REGION"),
aws_secret_access_key=os.environ.get("SLACK_WEBHOOK_URL"),
region_name=os.environ.get("SLACK_CHANNEL")
aws_access_key_id=os.environ.get("AWS_ACCESS_KEY_ID"),
aws_secret_access_key=os.environ.get("AWS_SECRET_ACCESS_KEY"),
region_name=os.environ.get("AWS_REGION")
)
try:
s3.download_file('biothings-codebuild', build_version_file, build_version_file)
Expand Down Expand Up @@ -130,9 +130,9 @@ jobs:
s3 = boto3.client(
's3',
aws_access_key_id=os.environ.get("AWS_REGION"),
aws_secret_access_key=os.environ.get("SLACK_WEBHOOK_URL"),
region_name=os.environ.get("SLACK_CHANNEL")
aws_access_key_id=os.environ.get("AWS_ACCESS_KEY_ID"),
aws_secret_access_key=os.environ.get("AWS_SECRET_ACCESS_KEY"),
region_name=os.environ.get("AWS_REGION")
)
s3.upload_file(build_version_file, 'biothings-codebuild', build_version_file)
Expand Down

0 comments on commit 4131336

Please sign in to comment.