Skip to content

Commit 2acb989

Browse files
Workflows remove slack notify
1 parent b77a23c commit 2acb989

File tree

2 files changed

+2
-33
lines changed

2 files changed

+2
-33
lines changed

.github/workflows/deploy.yml

+1-17
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ jobs:
5555
deploy:
5656
needs: [test, build]
5757
runs-on: ubuntu-latest
58-
env:
59-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6058
steps:
6159
- name: Checkout
6260
uses: actions/checkout@v2
@@ -99,18 +97,4 @@ jobs:
9997
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
10098
repository: 'datacite/mastino'
10199
branch: 'refs/heads/master'
102-
tags: false
103-
104-
- name: Notify Slack
105-
uses: edge/simple-slack-notify@master
106-
with:
107-
channel: '#ops'
108-
color: 'good'
109-
text: 'A new version of the <https://profiles.stage.datacite.org|Profiles Service> is been deployed to stage.'
110-
failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed'
111-
fields: |
112-
[{ "title": "Commit message", "value": "${{ steps.extract_variables.outputs.MESSAGE }}" },
113-
{ "title": "Committed by", "value": "<https://github.com/${{ github.repository }}/commits?author=${{ github.actor }}|${{ github.actor }}>", "short": true },
114-
{ "title": "Commit SHA", "value": "<https://github.com/${{ github.repository }}/commit/${{ steps.extract_variables.outputs.GIT_SHA }}|${{ steps.extract_variables.outputs.GIT_SHA_SHORT }}>", "short": true },
115-
{ "title": "Repository", "value": "<https://github.com/${{ github.repository }}|${{ github.repository }}>", "short": true },
116-
{ "title": "Branch", "value": "<https://github.com/${{ github.repository }}/tree/${{ steps.extract_variables.outputs.BRANCH }}|${{ steps.extract_variables.outputs.BRANCH }}>", "short": true }]
100+
tags: false

.github/workflows/release.yml

+1-16
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ jobs:
5858
deploy:
5959
needs: [test, build]
6060
runs-on: ubuntu-latest
61-
env:
62-
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
6361
steps:
6462
- name: Checkout
6563
uses: actions/checkout@v2
@@ -100,17 +98,4 @@ jobs:
10098
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
10199
repository: 'datacite/mastino'
102100
branch: 'refs/heads/master'
103-
tags: false
104-
105-
- name: Notify Slack
106-
uses: edge/simple-slack-notify@master
107-
with:
108-
channel: '#ops'
109-
color: 'good'
110-
text: 'Version <https://github.com/${{ github.repository }}/releases/tag/${{ steps.extract_variables.outputs.TAG }}|${{ steps.extract_variables.outputs.TAG }}> of the <https://profiles.datacite.org|Profiles Service> is being released to production.'
111-
failure_text: '${env.GITHUB_WORKFLOW} (${env.GITHUB_RUN_NUMBER}) build failed'
112-
fields: |
113-
[{ "title": "Committed by", "value": "<https://github.com/${{ github.repository }}/commits?author=${{ github.actor }}|${{ github.actor }}>", "short": true },
114-
{ "title": "Commit SHA", "value": "<https://github.com/${{ github.repository }}/commit/${{ steps.extract_variables.outputs.GIT_SHA }}|${{ steps.extract_variables.outputs.GIT_SHA_SHORT }}>", "short": true },
115-
{ "title": "Repository", "value": "<https://github.com/${{ github.repository }}|${{ github.repository }}>", "short": true },
116-
{ "title": "Release", "value": "<https://github.com/${{ github.repository }}/releases/tag/${{ steps.extract_variables.outputs.TAG }}|${{ steps.extract_variables.outputs.TAG }}>", "short": true }]
101+
tags: false

0 commit comments

Comments
 (0)