From f27e6b3b6394e90aa2d7f25a7fe2e66c1366af4f Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Fri, 21 Feb 2025 09:58:53 -0700 Subject: [PATCH] ci: update `deploy-clean` --- .github/workflows/deploy-clean.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-clean.yml b/.github/workflows/deploy-clean.yml index cf046606..ae304c8a 100644 --- a/.github/workflows/deploy-clean.yml +++ b/.github/workflows/deploy-clean.yml @@ -213,13 +213,9 @@ jobs: embed-color: ${{ job.status == 'success' && '5763719' || '15418782' }} embed-footer-text: "Completed at ${{ env.NOW }} UTC" embed-timestamp: "${{ env.NOW_LONG }}" - embed-author-name: "${{ github.actor }}" + embed-author-name: "${{ github.repository_owner }}" embed-author-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" embed-author-icon-url: "https://avatars.githubusercontent.com/u/200161462" - # embed-author-icon-url: "${{ github.actor.avatar_url }}" - # embed-author-icon-url: ${{ github.event.workflow_run.actor.avatar_url }} - # embed-author-name: ${{ github.event.workflow_run.actor.login }} - # embed-author-url: ${{ github.event.workflow_run.actor.html_url }} # # # Cleanup › Notify Github › Failure @@ -250,10 +246,10 @@ jobs: - Triggered By: `${{ github.actor }}` - Status: `${{ job.status == 'success' && '✅ Successful' || '❌ Failed' }}` - embed-color: ${{ env.STATUS == 'success' && '5763719' || '15418782' }} + embed-color: ${{ job.status == 'success' && '5763719' || '15418782' }} embed-footer-text: "Completed at ${{ env.NOW }} UTC" embed-timestamp: "${{ env.NOW_LONG }}" - embed-author-name: "${{steps.embed.outputs.EMBED_AUTHOR_NAME}}" - embed-author-url: "${{ github.event.release.author.html_url }}" - embed-author-icon-url: "${{ github.event.release.author.avatar_url }}" + embed-author-name: "${{ github.repository_owner }}" + embed-author-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + embed-author-icon-url: "https://avatars.githubusercontent.com/u/200161462"