Skip to content

chore: change path

chore: change path #27

Workflow file for this run

name: Upload Examples to Amazon S3
on:
push:
branches:
- master
jobs:
upload:
name: Upload examples to Amazon S3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Upload to Amazon S3
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
aws s3 sync . s3://${{ secrets.WEBINY_EXAMPLES_S3_BUCKET_NAME }} --delete --region ${{ secrets.AWS_REGION }} \
--exclude ".*" \
--exclude "blog*" \
--exclude "create-custom-application*" \
--exclude "headlesscms-*" \
--exclude "integrate-tailwind-css" \
--exclude "node_modules*" \
--exclude "package.json" \
--exclude "README.md" \
--exclude "storage-backup*" \
--exclude "use-existing-amazon-vpc-advanced-usage*" \
--exclude "webiny-v4*" \
--exclude "yarn.lock"