Skip to content

Commit

Permalink
format time and fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
timbmg committed Feb 11, 2023
1 parent e6f698c commit 49ef708
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/element.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
USER=${{ github.event.deployment.creator.login }}
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 **$ENVIRONMENT** by [$USER](https://github.com/$USER) at $TIMESTAMP."
TIMESTAMP=$(date -d "$TIMESTAMP" "+%Y-%m-%d %H:%M:%S")
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) 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 49ef708

Please sign in to comment.