I have a YAML file for a pipeline on github actions.
It works but I need to add some metadata as well.
This is my YAML file:
name: Upload to S3
on:
push:
branches:
- test-s3
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: shallwefootball/s3-upload-action@master
with:
aws_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_bucket: ${{ secrets.AWS_BUCKET_NAME }}
source_dir: "public/"
destination_dir: "project/assets/js/test/"
This is the metadata that I want to add when I try to run this YAML file.
Key: Content-Type
Value: max-age=600
Do you have any idea to add metadata to this YAML file?