File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,17 +101,19 @@ jobs:
101101 dist/giskard-*.tar.gz
102102 dist/giskard-*.whl
103103
104- - name : Post to a Slack channel
104+ - name : Push to Pipy
105+ run : pdm publish --no-build --username "${{ secrets.PIPY_USERNAME }}" --password "${{ secrets.PIPY_PASSWORD }}"
106+
107+ - name : Post Slack message
105108 id : slack
106109 uses : slackapi/slack-github-action@v1.24.0
107110 with :
108111 # Slack channel id, channel name, or user id to post message.
109112 # See also: https://api.slack.com/methods/chat.postMessage#channels
110- channel-id : ' C02Q2772VEH'
111- slack-message : " @channel New release: ${{ github.ref_name }} is being made !:tada:\n Release notes there: ${{ steps.github-release.outputs.url }}"
113+ channel-id : ${{ secrets.SLACK_CHANNEL_ID }}
114+ slack-message : |
115+ @channel New library release: ${{ env.VERSION_NAME }} :tada:
116+ [Release notes](${{ steps.github-release.outputs.url }}) | [PyPI](https://pypi.org/project/giskard/${{ env.VERSION_NUMBER }})
112117 # For posting a rich message using Block Kit
113118 env :
114119 SLACK_BOT_TOKEN : ${{ secrets.SLACK_BOT_TOKEN }}
115-
116- - name : Push to Pipy
117- run : pdm publish --no-build --username "${{ secrets.PIPY_USERNAME }}" --password "${{ secrets.PIPY_PASSWORD }}"
You can’t perform that action at this time.
0 commit comments