Skip to content

Commit fe9db9b

Browse files
committed
fix release process
Signed-off-by: Guillaume Lours <[email protected]>
1 parent 8d38396 commit fe9db9b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yaml renamed to .github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
1212
permissions:
1313
id-token: write
14-
contents: read
14+
contents: write
1515
steps:
1616
- name: Checkout
1717
uses: actions/checkout@v2
@@ -24,9 +24,11 @@ jobs:
2424
with:
2525
prerelease: true
2626
draft: false
27+
generateReleaseNotes: true
2728
tag: ${{ github.event.inputs.tag }}
2829
commit: "main"
2930
- name: Configure AWS credentials
31+
if: ${{ github.event.inputs.tag != '' }} # don't release if no tag is specified
3032
uses: aws-actions/configure-aws-credentials@master
3133
with:
3234
role-to-assume: "arn:aws:iam::710015040892:role/ComposeSpecWebsite-20220215151844232500000002"

0 commit comments

Comments
 (0)