{"id":21486965,"url":"https://github.com/ntsd/liquidjs-action","last_synced_at":"2026-02-26T04:11:44.099Z","repository":{"id":65161141,"uuid":"561434374","full_name":"ntsd/liquidjs-action","owner":"ntsd","description":"Github Action to render LiquidJS","archived":false,"fork":false,"pushed_at":"2022-11-04T17:35:57.000Z","size":245,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-02T05:51:26.690Z","etag":null,"topics":["github-action","liquidjs"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/liquidjs-render","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntsd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-03T17:21:19.000Z","updated_at":"2022-11-04T17:38:57.000Z","dependencies_parsed_at":"2023-01-05T05:03:42.132Z","dependency_job_id":null,"html_url":"https://github.com/ntsd/liquidjs-action","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"0981397c0f348646392c69f71998f39a578925ab"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fliquidjs-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fliquidjs-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fliquidjs-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fliquidjs-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntsd","download_url":"https://codeload.github.com/ntsd/liquidjs-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226047187,"owners_count":17565302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-action","liquidjs"],"created_at":"2024-11-23T13:25:21.414Z","updated_at":"2026-02-26T04:11:39.000Z","avatar_url":"https://github.com/ntsd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LiquidJS Github Action\n\nName: `ntsd/liquidjs-action@main`\n\nGithub Action to render LiquidJS.\n\n## Inputs\n\n`variables` - The JSON variables to render. `required`.\n\n`template-string` - The template string to render. `optional`.\n\n`template-file` - The file template to render. `optional`.\n\n`output-file` - The rendered out put file. `optional`.\n\n`output-name` - The output state name for the result. default `result`.\n\n## Template\n\nThis action required template file or template string from input `template-file` or `template-string`. The template  will render by [LiquidJS](https://liquidjs.com/).\nYou can find the example template file [here](https://github.com/ntsd/liquidjs-action/blob/master/example/TEMPLATE.md).\nThe template file will render to file input `output-file` or [Github Action Output](https://docs.github.com/en/github-ae@latest/actions/using-workflows/workflow-commands-for-github-actions#using-workflow-commands-to-access-toolkit-functions) name from input `output-name`.\n\n## Examples\n\n### Github Action Output render\n\n```yml\nname: Render LiquidJS\non: push\n\njobs:\n  liquidjs-job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: LiquidJS Action\n        id: run-liquidjs\n        uses: ntsd/liquidjs-action@main\n        with:\n          variables: `{\"hello\": \"Hello LiquidJS\"}`\n          template-string: \"{{ hello }}\"\n      - name: Echo output\n        run: echo \"The rendered result is '${{ steps.run-liquidjs.outputs.result }}'\"\n```\n\n### File render\n\n```yml\nname: Render LiquidJS\non: push\n\njobs:\n  liquidjs-job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: LiquidJS Action\n        uses: ntsd/liquidjs-action@main\n        with:\n          variables: `{\"hello\": \"Hello LiquidJS\"}`\n          template-string: \"{{ hello }}\"\n          output-file: \"./RENDER.md\"\n      - name: Commit files\n        run: |\n          git config --local user.email \"ntsd@users.noreply.github.com\"\n          git config --local user.name \"ntsd\"\n          git commit -am \"docs: auto update RENDER.md\"\n          git push\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntsd%2Fliquidjs-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntsd%2Fliquidjs-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntsd%2Fliquidjs-action/lists"}