All Projects → cuchi → jinja2-action

cuchi / jinja2-action

Licence: other
Use the Jinja2 template engine as a GitHub action

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to jinja2-action

smacha
SMACHA is a meta-scripting, templating, and code generation engine for rapid prototyping of ROS SMACH state machines.
Stars: ✭ 15 (-44.44%)
Mutual labels:  jinja2
ansible-avd
Ansible Arista Validated Design
Stars: ✭ 134 (+396.3%)
Mutual labels:  jinja2
vscode-saltstack
SaltStack extension for Microsoft Visual Studio Code
Stars: ✭ 26 (-3.7%)
Mutual labels:  jinja2
roundup
un-official mirror of http://hg.code.sf.net/p/roundup/code -- used for CI. Please visit https://issues.roundup-tracker.org for finding starter issues or log new issues.
Stars: ✭ 20 (-25.93%)
Mutual labels:  jinja2
web-7.0
The freenode website, home to our blog, knowledge base and policies
Stars: ✭ 112 (+314.81%)
Mutual labels:  jinja2
MLH-Quizzet
This is a smart Quiz Generator that generates a dynamic quiz from any uploaded text/PDF document using NLP. This can be used for self-analysis, question paper generation, and evaluation, thus reducing human effort.
Stars: ✭ 23 (-14.81%)
Mutual labels:  jinja2
learn-ansible-and-jenkins-in-30-days
Ansible + Jenkins in 30 days tutorial.
Stars: ✭ 35 (+29.63%)
Mutual labels:  jinja2
buscaimoveis
Agregador de anúncios de imóveis a venda
Stars: ✭ 15 (-44.44%)
Mutual labels:  jinja2
jinja2-time
📆 Jinja2 Extension for Dates and Times
Stars: ✭ 64 (+137.04%)
Mutual labels:  jinja2
liquidpy
A port of liquid template engine for python
Stars: ✭ 49 (+81.48%)
Mutual labels:  jinja2
datasets
The primary repository for all of the CORGIS Datasets
Stars: ✭ 19 (-29.63%)
Mutual labels:  jinja2
Flask-QRcode
A concise Flask extension to easily render QR codes on Jinja2 templates using python-qrcode.
Stars: ✭ 89 (+229.63%)
Mutual labels:  jinja2
lbuild
lbuild: a generic, modular code generator in Python 3
Stars: ✭ 22 (-18.52%)
Mutual labels:  jinja2
pyramid-cookiecutter-alchemy
[DEPRECATED - Please use https://github.com/pylons/pyramid-cookiecutter-starter instead] A Cookiecutter (project template) for creating a Pyramid project using SQLite for persistent storage, SQLAlchemy for an ORM, Alembic for database migrations, URL dispatch for routing, and Jinja2 for templating.
Stars: ✭ 39 (+44.44%)
Mutual labels:  jinja2
voldemort
A simple static site generator using Jinja2 and Markdown templates.
Stars: ✭ 48 (+77.78%)
Mutual labels:  jinja2
templatel
Jinja inspired template language for Emacs Lisp
Stars: ✭ 46 (+70.37%)
Mutual labels:  jinja2
minijinja
MiniJinja is a powerful but minimal dependency template engine for Rust
Stars: ✭ 540 (+1900%)
Mutual labels:  jinja2
coAST
Universal and language-independent abstract syntax tree
Stars: ✭ 30 (+11.11%)
Mutual labels:  jinja2
ansible-role-k8s
This role render an arbitrary number of Jinja2 templates and deploys or removes them to/from Kubernetes clusters.
Stars: ✭ 26 (-3.7%)
Mutual labels:  jinja2
jinja2-git
Jinja2 extension to handle git-specific things
Stars: ✭ 12 (-55.56%)
Mutual labels:  jinja2

release marketplace

Jinja2 is a fast and straightforward templating engine. You can use this action to easily run it in your GitHub workflows.

Using input variables

- name: Setup nginx
  uses: cuchi/[email protected]
  with:
    template: infra/nginx.conf.j2
    output_file: infra/nginx.conf
    strict: true
    variables: |
      server_host=staging.example.com
      timeout=30s

Using data files

- name: Setup nginx
  uses: cuchi/[email protected]
  with:
    template: infra/nginx.conf.j2
    output_file: infra/nginx.conf
    data_file: staging_config.json
    data_format: json # Will try to guess from the extension instead (unnecessary in this case)

Using environment variables

- name: Setup nginx
  uses: cuchi/[email protected]
  with:
    template: infra/nginx.conf.j2
    output_file: infra/nginx.conf
  env:
    SERVER_HOST: staging.example.com

Environment variables are used this way in the template file:

{{ env['SERVER_HOST'] }} <-- This is always strict
{{ env.get('SERVER_HOST') }} <-- This is never strict, and displays `None` if you don't specify a default value

See also

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].