Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Nettoyer les déploiements de versions de test obsolètes #1970

Nettoyer les déploiements de versions de test obsolètes

Nettoyer les déploiements de versions de test obsolètes #1970

Workflow file for this run

name: Nettoyer les déploiements de versions de test obsolètes
on: delete
jobs:
cleanup:
name: Clean up
runs-on: ubuntu-latest
if: ${{ github.event.ref_type == 'branch' }}
steps:
- name: Send event to trigger cleanup workflow
run: |
curl -XPOST https://api.github.com/repos/Delegation-numerique-en-sante/mesconseilscovid-infra/dispatches \
-H "Authorization: token ${{ secrets.PAT_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
--data '{"event_type": "cleanup", "client_payload": {"branch": "${{ github.event.ref }}"}}'