Skip to content

first commit

first commit #2

Workflow file for this run

name: Push to S3
on:
push:
branches:
- main
workflow_dispatch: {}
jobs:
push:
name: Push
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Assume IAM Role
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.ALLOW_CRESTA_S3_DATA_TRANSFER_ROLE_ARN }}
role-session-name: allow-cresta-s3-data-transfer
aws-region: us-west-2
- name: Push to S3
run: |
aws s3 cp ./aws s3://${{ secrets.CRESTA_CLOUDFORMATION_S3_BUCKET }}/allow-cresta-aws-connect/aws --recursive