diff --git a/.github/workflows/element.yml b/.github/workflows/element.yml index 3c94a10cc..5e17ef6e0 100644 --- a/.github/workflows/element.yml +++ b/.github/workflows/element.yml @@ -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