Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
sliders

GitHub Action

Jinja2 Action

v1.0.1

Jinja2 Action

sliders

Jinja2 Action

Use the Jinja2 templating engine on your workflow

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Jinja2 Action

uses: cuchi/[email protected]

Learn more about this action in cuchi/jinja2-action

Choose a version

Example

Simple usage

- name: Setup nginx
  uses: cuchi/jinja2-action@v1
  with:
    template: infra/nginx.conf.j2
    output_file: infra/nginx.conf
    variables: |
      server_host=staging.example.com
      timeout=30s