mirror of https://github.com/kern/filepizza
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
713 B
HCL
17 lines
713 B
HCL
workflow "Build on push" {
|
|
on = "push"
|
|
resolves = ["GitHub Action for AWS"]
|
|
}
|
|
|
|
action "Docker build, tag, and push" {
|
|
uses = "pangzineng/Github-Action-One-Click-Docker@master"
|
|
secrets = ["DOCKER_USERNAME", "DOCKER_PASSWORD"]
|
|
}
|
|
|
|
action "GitHub Action for AWS" {
|
|
uses = "actions/aws/cli@efb074ae4510f2d12c7801e4461b65bf5e8317e6"
|
|
needs = ["Docker build, tag, and push"]
|
|
secrets = ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"]
|
|
args = "aws deploy create-deployment --application-name AppECS-filepizza-filepizza --deployment-config-name CodeDeployDefault.ECSAllAtOnce --deployment-group-name DgpECS-filepizza-filepizza --s3-location bucket=codedeploydemobucket,bundleType=zip,key=HelloWorld_App.zip"
|
|
}
|