Skip to content

Update SEO-construire-un-design-system-robuste-avec-react-les-fondati… #237

Update SEO-construire-un-design-system-robuste-avec-react-les-fondati…

Update SEO-construire-un-design-system-robuste-avec-react-les-fondati… #237

Workflow file for this run

name: PR Closed
on:
pull_request_target:
types: [ closed ]
jobs:
pr-closed:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Install aws cli
id: install-aws-cli
uses: unfor19/install-aws-cli-action@v1
- name: Setup aws
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ vars.AWS_REGION }}
- name: Remove to S3
run: aws s3 rm "s3://${{ vars.AWS_BUCKET_NAME }}/${{ github.head_ref }}/" --recursive
- name: Deactivate environment
uses: bobheadxi/deployments@v1
with:
step: deactivate-env
token: ${{ secrets.GITHUB_TOKEN }}
env: ${{ github.head_ref }}
desc: Environment was pruned