1.0.1 • Published 4 years ago

test-senmatic-release-2 v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

Deploy

We are using feature branch model across asset generation system and a new image will be build and push to ECR after the PR gets merged. So theoretically each PR should attached to a certain version number / tag. You should get the version number / tag ready before the deployment.

There are 2 way to make the deployment:

  1. Trigger the deployment by github API call (Recommended):
curl --location --request POST 'https://api.github.com/repos/ArkoseLabs/ag-image-generator/dispatches' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer ${github_token}' \
--header 'Content-Type: text/plain' \
--data-raw '{
	"event_type": "manual-deploy",
	"client_payload": {
	  "image_tag": ${image_tag_to_deploy}, "deploy_env": "development"
	}
}'