gfilicetti / gke-github-deployment

This repository is a full example of a full CI/CD pipeline using Github actions, terraform and other tech.
Apache License 2.0
3 stars 2 forks source link

check_content_type got removed from upload event workload by accident #52

Closed alanpoole closed 2 months ago

alanpoole commented 2 months ago

https://github.com/gfilicetti/gke-github-deployment/tree/main/workflows

        - check_content_type:
            switch:
                - condition: ${not text.match_regex(contentType, "video") and not text.match_regex(contentType, "octet-stream")}
                  return: ${"Media " + contentType + " not valid."}
                  next: end
            next: prep_transcoding_job