Skip to content

Commit

Permalink
chore: add link to the aws pipeline for cleanup workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ilfa committed Sep 20, 2024
1 parent 9f0c08c commit 0482b26
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cleanup-staled-aws-e2e-resources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,13 @@ jobs:
exit 1
fi
done
- name: Output Pipeline Link
if: always()
run: |
region=${{ secrets.AWS_E2E_REGION }}
pipeline_name=${{ vars.AWS_CLEANUP_E2E_LAMBDAS_CODEPIPELINE_NAME }}
execution_id=${{ env.codepipeline_execution_id }}
pipeline_url="https://${region}.console.aws.amazon.com/codesuite/codepipeline/pipelines/${pipeline_name}/executions/${execution_id}?region=${region}"
echo "AWS CodePipeline Execution URL: $pipeline_url"
echo "## AWS CodePipeline Execution Link" >> $GITHUB_STEP_SUMMARY
echo "[$pipeline_url]($pipeline_url)" >> $GITHUB_STEP_SUMMARY

0 comments on commit 0482b26

Please sign in to comment.