Skip to content

Commit

Permalink
use single line
Browse files Browse the repository at this point in the history
  • Loading branch information
timbmg committed Feb 11, 2023
1 parent a4e56d1 commit e6f698c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/element.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,9 @@ jobs:
BRANCH=${{ github.event.deployment.ref }}
SHA=${{ github.event.deployment.sha }}
USER=${{ github.event.deployment.creator.login }}
ENV=${{ github.event.deployment.environment }}
ENVIRONMENT=${{ github.event.deployment.environment }}
TIMESTAMP=${{ github.event.deployment.created_at }}
MSG="
Deployment of branch [$BRANCH](https://github.com/ukp-square/square-core/tree/$BRANCH)
with commit [$SHA](https://github.com/UKP-SQuARE/square-core/commit/$SHA)
deployed to **$ENV**
by [$USER](https://github.com/$USER)
at $TIMESTAMP.
"
MSG="Deployment of branch [$BRANCH](https://github.com/ukp-square/square-core/tree/$BRANCH) with commit [$SHA](https://github.com/UKP-SQuARE/square-core/commit/$SHA) deployed to **$ENVIRONMENT** by [$USER](https://github.com/$USER) at $TIMESTAMP."
echo "MSG=$MSG" >>$GITHUB_ENV
- name: Send message to square-github channel
Expand Down

0 comments on commit e6f698c

Please sign in to comment.