build(deps): Bump the storybook group with 16 updates • dependabot/npm_and_yarn/storybook-47db63e871 • 7458484724 #507
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Close Pull Request: Undeploy' | |
# Note: display_title не задокументирован | |
run-name: '${{ github.event.workflow_run.display_title }} • ${{ github.event.workflow_run.head_branch }} • ${{ github.event.workflow_run.id }}' | |
on: | |
workflow_run: | |
workflows: ['Close Pull Request'] | |
types: [completed] | |
jobs: | |
pr_workflow_payload: | |
name: Call reusable workflow | |
uses: ./.github/workflows/reusable_workflow_pr_worfklow_payload.yml | |
with: | |
action: download | |
undeploy_s3: | |
needs: pr_workflow_payload | |
if: ${{ needs.pr_workflow_payload.outputs.status == 'success' }} | |
runs-on: ubuntu-latest | |
name: Undeploy S3 | |
steps: | |
- name: Delete from S3 | |
uses: VKCOM/gh-actions/VKUI/s3@main | |
with: | |
awsAccessKeyId: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
awsSecretAccessKey: ${{ secrets.AWS_SECRET_KEY }} | |
awsBucket: ${{ vars.AWS_BUCKET }} | |
awsEndpoint: https://${{ vars.AWS_ENDPOINT }} | |
command: delete | |
commandDeletePrefix: pull/${{ needs.pr_workflow_payload.outputs.pr_number }} |