feat: update publish pipeline to support production releases
ref #608 This MR updates untp-data-models-publish.yml to support publication to production.
It also includes the changes to the structure to the repo. untp-core vocabulary is stored in artefacts/vocabularies/untp-core now. The rest of data models is deprecated for publishing.
Two environments were set up - test and production. Production environment is protected. Bucket name and CF Distriubtion ID are set as environment variables for both test and production environment.
To publish a release to production:
- a tag needs to be created
- a pipeline is ran for the tag
- data-models-publish-production needs to be first approved and then deployed
Edited by Kseniya SHYCHKO