Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack channel ID added #228

Merged
merged 1 commit into from
Sep 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}"
}
}
]
}

Loading