Fixs sur le site #284
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: Supprime l'app de test de la branche | |
on: | |
pull_request: | |
types: | |
- closed | |
jobs: | |
destroy-test-app: | |
name: Supprime l'app de test | |
environment: preprod | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- uses: earthly/actions/setup-earthly@v1 | |
with: | |
version: v0.7.20 | |
- name: Login into registry | |
run: earthly --use-inline-cache +docker-dev-login --GH_USER=${{ secrets.GH_USER }} --GH_TOKEN=${{ secrets.GH_TOKEN }} | |
- name: Deploy test app on Koyeb | |
run: > | |
earthly | |
--use-inline-cache | |
+app-destroy-test | |
--KOYEB_API_KEY=${{ secrets.KOYEB_API_KEY }} |