adding AWS creds configuration step

This commit is contained in:
Martin McKeaveney 2021-12-16 13:12:54 +01:00
parent 6d22067f87
commit 414a1b74d4
1 changed files with 7 additions and 1 deletions

View File

@ -25,9 +25,15 @@ jobs:
if: ${{ !github.event.inputs.version }}
id: version
run: |
sudo apt-get install -y jq
release_version=$(cat lerna.json | jq -r '.version')
echo "::set-output name=release_version::$release_version"
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: eu-west-1
- name: Deploy to EKS
uses: craftech-io/eks-helm-deploy-action@v1