From e649a5acc65799bcd7205afdb8c4e8ef8e8699ae Mon Sep 17 00:00:00 2001 From: iTrooz Date: Sun, 28 Jan 2024 14:30:39 +0100 Subject: [PATCH] act: fix error for running job (#12146) * act: fix error for running job --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com> --- pages.fr/common/act.md | 10 +++++++--- pages/common/act.md | 8 ++++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pages.fr/common/act.md b/pages.fr/common/act.md index faf0da480..a77eae4d1 100644 --- a/pages.fr/common/act.md +++ b/pages.fr/common/act.md @@ -3,7 +3,7 @@ > Execute des GitHub Actions en local avec Docker. > Plus d'informations : . -- Liste les actions disponibles : +- [l]iste les jobs disponibles : `act -l` @@ -15,9 +15,9 @@ `act {{type_d_événement}}` -- Execute une action spécifique : +- Execute un [j]ob spécifique : -`act -a {{id_action}}` +`act -j {{id_job}}` - Ne pas lancer les actions maintenant (e.g un essai) : @@ -26,3 +26,7 @@ - Affiche le journal en mode verbeux : `act -v` + +- Execute un [W]orkflow en particulier, avec l'événement push : + +`act push -W {{path/to/workflow}}` diff --git a/pages/common/act.md b/pages/common/act.md index 5eb299364..f468d8b80 100644 --- a/pages/common/act.md +++ b/pages/common/act.md @@ -3,7 +3,7 @@ > Execute GitHub Actions locally using Docker. > More information: . -- [l]ist the available actions: +- [l]ist the available jobs: `act -l` @@ -15,9 +15,9 @@ `act {{event_type}}` -- Run a specific [a]ction: +- Run a specific [j]ob: -`act -a {{action_id}}` +`act -j {{job_id}}` - Do [n]ot actually run the actions (i.e. a dry run): @@ -27,6 +27,6 @@ `act -v` -- Run a specific [W]orkflow: +- Run a specific [W]orkflow with the push event: `act push -W {{path/to/workflow}}`