Skip to content

Commit

Permalink
génère un nom de job gh contenant la cible du déploiement
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-rutkowski committed Oct 17, 2023
1 parent 4ed59c9 commit 3f534b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd-app.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Déploiement à la demande de l'app
run-name: Déploiement de l'app sur ${{ github.event.inputs.deploy_target }}

on:
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cd-site.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Déploiement à la demande du site
run-name: Déploiement du site sur ${{ github.event.inputs.deploy_target }}

on:
workflow_dispatch:
Expand Down Expand Up @@ -29,7 +30,7 @@ jobs:
run: earthly --use-inline-cache +docker-dev-login --GH_USER=${{ secrets.GH_USER }} --GH_TOKEN=${{ secrets.GH_TOKEN }}

- name: Build and push front deps image
run: >
run: >
earthly
--use-inline-cache --save-inline-cache --push
--platform=linux/amd64
Expand All @@ -52,4 +53,3 @@ jobs:
+site-deploy
--ENV_NAME=${{ github.event.inputs.target }}
--KOYEB_API_KEY=${{ secrets.KOYEB_API_KEY }}

0 comments on commit 3f534b4

Please sign in to comment.