Skip to content

Merge pull request #653 from finos/renovate/webpack-5.x-lockfile #2

Merge pull request #653 from finos/renovate/webpack-5.x-lockfile

Merge pull request #653 from finos/renovate/webpack-5.x-lockfile #2

Workflow file for this run

name: Sync CALM to S3
on:
workflow_dispatch: {}
push:
branches:
- main
paths:
- 'calm/draft/**'
- 'calm/samples/**'
jobs:
sync-to-s3:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_S3_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- name: Sync calm/draft folder to S3
run: |
aws s3 sync calm/draft s3://${{ vars.AWS_S3_BUCKET }}/draft --delete
- name: Sync calm/samples folder to S3
run: |
aws s3 sync calm/samples s3://${{ vars.AWS_S3_BUCKET }}/samples --delete