Skip to content

Commit 12aa88d

Browse files
committed
Go "something"
1 parent 4da1406 commit 12aa88d

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

.github/workflows/build_and_deploy.yaml

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -121,22 +121,26 @@ jobs:
121121
- name: Create Release
122122
env:
123123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
124-
run: |
125-
gh release create ${{ needs.deploy-staging.outputs.tag }} \
126-
--title "Release ${{ needs.deploy-staging.outputs.tag }}" \
127-
--notes-file <(cat <<'EOF'
128-
Automated release for tag ${{ needs.deploy-staging.outputs.tag }}
129-
**Source Branch:** ${{ needs.deploy-staging.outputs.source_branch }}
130-
131-
**Deployed to Staging:** ✅ $(date -u '+%Y-%m-%d %H:%M UTC')
132-
**Docker Image:** `aa-web-staging:${{ needs.deploy-staging.outputs.tag }}`
133-
**Staging URL:** https://${{ vars.DOMAIN_NAME }}
134-
135-
---
136-
137-
${{ steps.changelog.outputs.changelog }}
138-
EOF
139-
)
124+
run: |
125+
cat > release_notes.md << 'EOF'
126+
Automated release for tag ${{ needs.deploy-staging.outputs.tag }}
127+
128+
**Source Branch:** ${{ needs.deploy-staging.outputs.source_branch }}
129+
130+
**Deployed to Staging:** ✅ $(date -u '+%Y-%m-%d %H:%M UTC')
131+
132+
**Docker Image:** `aa-web-staging:${{ needs.deploy-staging.outputs.tag }}`
133+
134+
**Staging URL:** https://${{ vars.DOMAIN_NAME }}
135+
136+
---
137+
138+
${{ steps.changelog.outputs.changelog }}
139+
EOF
140+
141+
gh release create ${{ needs.deploy-staging.outputs.tag }} \
142+
--title "Release ${{ needs.deploy-staging.outputs.tag }}" \
143+
--notes-file release_notes.md
140144
141145
#image: "${{ steps.login-ecr.outputs.registry }}/${{ env.ECR_REPOSITORY }}:${{ inputs.image_tag }}",
142146

0 commit comments

Comments
 (0)