Skip to content

updated profile picture #40

updated profile picture

updated profile picture #40

Workflow file for this run

name: Upload to S3
on:
push:
branches:
- main
workflow_dispatch:
env:
CDK_DEFAULT_REGION: ${{ secrets.CDK_DEFAULT_REGION}}
CDK_DEFAULT_ACCOUNT: ${{ secrets.CDK_DEFAULT_ACCOUNT}}
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: ${{ secrets.DEPLOYMENT_ROLE }}
role-session-name: GitHub_to_AWS_via_FederatedOIDC
aws-region: ${{ env.CDK_DEFAULT_REGION }}
- name: Upload to S3
run: |
aws s3 sync . ${{ secrets.BUCKET }} --delete --exclude ".git/*" --exclude ".github/*"