Skip to content

Commit

Permalink
Update GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
DevWael committed Mar 25, 2024
1 parent 3479489 commit 4b742ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/production-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,12 @@ jobs:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: merchant.zip
tag: ${{ github.ref_name }}
overwrite: true
overwrite: true

- name: Upload file to Slack
run: >
curl -F [email protected]
-F "initial_comment=*Merchant Free Production Zip*"
-F channels=${{ secrets.SLACK_CHANNEL_ID }}
-H "Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}"
https://slack.com/api/files.upload
2 changes: 1 addition & 1 deletion .github/workflows/slack-testing-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ jobs:
_Dive deeper into the changes: ${{ github.event.pull_request.html_url }} _"
-F channels=${{ secrets.SLACK_RELEASES_CHANNEL_ID }}
-F channels=${{ secrets.SLACK_CHANNEL_ID }}
-H "Authorization: Bearer ${{ secrets.SLACK_BOT_TOKEN }}"
https://slack.com/api/files.upload

0 comments on commit 4b742ad

Please sign in to comment.