TECH - fix de l'optimisation de la recherche #597
Workflow file for this run
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: "Destroy review apps" | |
on: | |
pull_request: | |
types: [ closed ] | |
concurrency: | |
group: review-app-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
destroy-review-apps: | |
runs-on: ubuntu-latest | |
environment: review-app | |
steps: | |
- name: Install scalingo CLI | |
run: | | |
wget -qO- https://cli-dl.scalingo.com/install.sh | bash | |
echo "$HOME/bin" >> $GITHUB_PATH | |
- name: Login to scalingo | |
run: scalingo login --api-token ${{ secrets.SCALINGO_API_TOKEN }} | |
- name: Destroy review apps | |
run: | | |
scalingo --app if-dev-front-pr${{ github.event.number }} destroy --force | |
scalingo --app if-dev-back-pr${{ github.event.number }} destroy --force |