Commit 1e63cd92 authored by Thomas Boni's avatar Thomas Boni
Browse files

update "how to" section of tpl and twig lint job

parent c0cf45ba
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -5,15 +5,13 @@ This job check if there are any errors on the twig templates
## How to use it

1. Put your twig files in the directory "templates"
2. Add the corresponding URL to your `.gitlab-ci.yml` file (see [Getting
   started](/use-the-hub)). Example:
1. Add this job URL inside the `include` list of your `.gitlab-ci.yml` file (see the [quick setup](/use-the-hub/#quick-setup)). You can specify [a fixed version](#changelog) instead of `latest`.
    ```yaml
    include:
      - remote: 'https://jobs.r2devops.io/twig_lint.yml'
      - remote: 'https://jobs.r2devops.io/latest/twig_lint.yml'
    ```
3. If you need to customize the job (stage, variables, ...) 👉 check the [jobs
1. If you need to customize the job (stage, variables, ...) 👉 check the [jobs
   customization](/use-the-hub/#jobs-customization)
4. Well done, your job is ready to work ! 😀
1. Well done, your job is ready to work ! 😀

## Job details

+4 −7
Original line number Diff line number Diff line
@@ -5,16 +5,13 @@
## How to use it

1. <Your steps>
2. Add the corresponding URL to your `.gitlab-ci.yml` file (see [Getting
   started](/use-the-hub)). Example:

1. Add this job URL inside the `include` list of your `.gitlab-ci.yml` file (see the [quick setup](/use-the-hub/#quick-setup)). You can specify [a fixed version](#changelog) instead of `latest`.
    ```yaml
    include:
      - remote: 'https://jobs.r2devops.io/{{ job_name }}.yml'
      - remote: 'https://jobs.r2devops.io/latest/<job_name>.yml'
    ```
3. If you need to customize the job (stage, variables, ...) 👉 check the [jobs
1. If you need to customize the job (stage, variables, ...) 👉 check the [jobs
   customization](/use-the-hub/#jobs-customization)
4. Well done, your job is ready to work ! 😀
1. Well done, your job is ready to work ! 😀

## Job details