Fix timestamp

This commit is contained in:
Radek Golan 2024-04-22 20:31:47 +02:00
parent f03b978506
commit 924360246b

View File

@ -15,7 +15,7 @@ webhook.add_embed(DiscordEmbed(
"Pipeline Failed" if not success else "Pipeline Succeeded", "Pipeline Failed" if not success else "Pipeline Succeeded",
color="ED4245" if environ["CI_PIPELINE_STATUS"] == "failed" else "57F287", color="ED4245" if environ["CI_PIPELINE_STATUS"] == "failed" else "57F287",
url=environ["CI_PIPELINE_URL"], url=environ["CI_PIPELINE_URL"],
timestamp=datetime.now(UTC).isoformat(), timestamp=datetime.now(UTC),
author={ author={
"name": environ["CI_REPO"], "name": environ["CI_REPO"],
"url": environ["CI_REPO_URL"] "url": environ["CI_REPO_URL"]