Skip to content

Commit

Permalink
change endpoint url env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
shriram192 committed Oct 31, 2023
1 parent 1cd8c1c commit 7b93fbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@ jobs:
python hdf_tools.py
- name: Upload to S3
env:
AWS_S3_ENDPOINT: ${{ secrets.AWS_S3_ENDPOINT }}
AWS_ENDPOINT_URL: ${{ secrets.AWS_S3_ENDPOINT }}
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_S3_BUCKET_PATH: ${{ secrets. AWS_S3_BUCKET_PATH }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_S3_USE_PATH_STYLE_ENDPOINT: true
AWS_EC2_METADATA_DISABLED: true
run: |
echo $AWS_S3_ENDPOINT $AWS_S3_BUCKET $AWS_S3_BUCKET_PATH $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
aws s3 cp ./0_interlayer_energy/data/qmc.hdf s3://$AWS_S3_BUCKET/$AWS_S3_BUCKET_PATH/${GITHUB_REF#refs/tags/}.hdf

0 comments on commit 7b93fbf

Please sign in to comment.