mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-09-02 05:55:10 +09:00
31 lines
784 B
YAML
31 lines
784 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- integ-tests
|
|
|
|
name: Integration Test
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Deploy
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Print current build ID
|
|
run: |
|
|
echo Integration test run: githubactionsconfigureawscr-hAMhr2qzHnWH:b765f3eb-8199-461e-9b77-b3cdb0e1d0fa
|
|
|
|
- name: Configure AWS credentials
|
|
uses: aws-actions/configure-aws-credentials@3c4f95f73f7c7b9f2e2bb071d8fbfb9aefa002e8
|
|
with:
|
|
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
aws-region: us-east-2
|
|
|
|
- name: Test environment is configured with AWS credentials
|
|
run: |
|
|
aws sts get-caller-identity > /dev/null
|