Skip to content

Commit

Permalink
Merge pull request #228 from davseve/ED-11967-to-main
Browse files Browse the repository at this point in the history
Slack channel ID added
  • Loading branch information
davseve authored Sep 3, 2023
2 parents cfc0488 + 6d6b97f commit ab32366
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/latest-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,29 +72,21 @@ jobs:
with:
PACKAGE_VERSION: ${{ env.PACKAGE_VERSION }}
BUILD_SCRIPT_PATH: "./.github/scripts/build-zip.sh"
# - name: Generate changelog
# uses: ./.github/workflows/generate-changelog
# with:
# TOKEN: ${{ secrets.MAINTAIN_TOKEN }}
# REPOSITORY: ${{ github.repository }}
# HEAD_BRANCH_NAME: ${{ github.ref }}
# BASE_TAG_NAME: ${{ env.PREVIOUS_TAG_SHA }}
# GENERATE_EMPTY_CHANGELOG: true
- name: Create GitHub release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.PACKAGE_VERSION }}
target_commitish: ${{ env.CLEAN_REF }}
files: |
elementor-*.zip
body: false
body: ""
prerelease: ${{ env.PRERELEASE }}
- name: Post To Slack Created Latest auto Release
if: ${{ github.event.inputs.pre_release }} == false
uses: ./.github/workflows/post-to-slack
with:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_TOKEN }}
SLACK_TAG_CHANNELS: ${{ secrets.SLACK_CHANNEL_RELEASE }}
SLACK_TAG_CHANNELS: 'C05QRUJSLG3' // #latest-hosting-release ID
PAYLOAD: |
{
"blocks": [
Expand Down Expand Up @@ -126,16 +118,6 @@ jobs:
"action_id": "button-action"
}
},
{
"type": "divider"
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "*v${{ env.PACKAGE_VERSION }} Changelog* \n\n ${{ env.CHANGELOG_CONTENT }}"
}
}
]
}

0 comments on commit ab32366

Please sign in to comment.