Skip to content

Commit

Permalink
Updated key names for AWS cli
Browse files Browse the repository at this point in the history
  • Loading branch information
voidburn committed Oct 3, 2023
1 parent 95ea815 commit 5810ba6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ jobs:
python -c'from qiskit_ibm_provider import IBMProvider; import os; IBMProvider.save_account(os.environ.get("IBMQ_TOKEN"))'
- name: Setup AWS
env:
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
run: |
python -m pip install awscli
aws configure set aws_access_key_id $ACCESS_KEY
aws configure set aws_secret_access_key $SECRET_ACCESS_KEY
aws configure set aws_access_key_id $AWS_ACCESS_KEY
aws configure set aws_secret_access_key $AWS_SECRET_KEY
aws configure set region us-west-1
aws configure set output json
- name: Build the docker stack
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_main_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
python -c'from qiskit_ibm_provider import IBMProvider; import os; IBMProvider.save_account(os.environ.get("IBMQ_TOKEN"))'
- name: Setup AWS
env:
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
SECRET_ACCESS_KEY: ${{ secrets.SECRET_ACCESS_KEY }}
ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }}
run: |
python -m pip install awscli
aws configure set aws_access_key_id $ACCESS_KEY
aws configure set aws_secret_access_key $SECRET_ACCESS_KEY
aws configure set aws_access_key_id $AWS_ACCESS_KEY
aws configure set aws_secret_access_key $AWS_SECRET_KEY
aws configure set region us-west-1
aws configure set output json
- name: Build the docker stack
Expand Down

0 comments on commit 5810ba6

Please sign in to comment.