File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths-ignore :
8
+ - " **.md"
9
+
10
+ jobs :
11
+ build :
12
+ name : Build
13
+ uses : soat-tech-challenge/github-workflows/.github/workflows/maven-bump-push-dockerhub.yml@main
14
+ secrets : inherit
15
+ with :
16
+ dockerhub_username : ${{ vars.DOCKERHUB_USERNAME }}
17
+ image_name : ${{ vars.DOCKER_IMAGE_NAME }}
18
+
19
+ deploy :
20
+ name : Deploy
21
+ needs : build
22
+ uses : soat-tech-challenge/github-workflows/.github/workflows/redeploy-ecs-service.yml@main
23
+ secrets : inherit
24
+ with :
25
+ aws_region : ${{ vars.DEFAULT_AWS_REGION }}
26
+ cluster_name : ${{ vars.ECS_CLUSTER_NAME }}
27
+ service_name : ${{ vars.ECS_SERVICE_NAME }}
Original file line number Diff line number Diff line change
1
+ name : Pull Request
2
+
3
+ on :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ jobs :
8
+ build :
9
+ name : Build
10
+ uses : soat-tech-challenge/github-workflows/.github/workflows/maven-and-docker-build.yml@main
11
+ secrets : inherit
12
+ permissions :
13
+ contents : read
14
+ pull-requests : write
You can’t perform that action at this time.
0 commit comments