mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-08-31 05:35:04 +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:1312b708-97e0-4cad-a2d5-ad6e7f346fd7
|
|
|
|
- name: Configure AWS credentials
|
|
uses: aws-actions/configure-aws-credentials@9b3e97711ba7254b0a80aca6d88e7cce06aa1a5e
|
|
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
|