Skip to content

Commit

Permalink
Merge pull request #16 from aodn/improve-release-title
Browse files Browse the repository at this point in the history
Improve release title
  • Loading branch information
digorgonzola authored Dec 9, 2023
2 parents 6f2d1aa + 4090ba5 commit 941880a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:

production_deploy_apply:
runs-on: ubuntu-latest
environment: staging
environment: production
needs: [production_deploy_plan]
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:
# get the image digest from the build job with optional override from vars context
TF_VAR_image: ${{ vars.IMAGE || needs.build_test_push.outputs.image_digest }}

create_release:
create_draft_release:
name: Create Release
runs-on: ubuntu-latest
needs: [build_test_push, staging_deploy_apply]
Expand All @@ -193,7 +193,7 @@ jobs:
id: create_draft_release
uses: softprops/action-gh-release@v1
with:
name: Draft Release - '${{ github.event.push.head_commit.message }}'
name: Draft Release - '${{ github.event.head_commit.message }}'
body: |
## Info
Commit ${{ github.sha }} was deployed to `staging`. [See code diff](${{ github.event.compare }}).
Expand Down
8 changes: 4 additions & 4 deletions deploy/tf/ecs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ variable "ecr_repository_url" {
type = string
}

variable "image" {
description = "The digest/tag of the docker image to pull from ECR"
variable "environment" {
description = "Environment name to prepend/append to resource names"
type = string
}

variable "environment" {
description = "Environment name to prepend/append to resource names"
variable "image" {
description = "The digest/tag of the docker image to pull from ECR"
type = string
}

Expand Down

0 comments on commit 941880a

Please sign in to comment.