nanopx/SendGrid sync
Sync handlebars with SendGrid
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| githubToken | GitHub personal access token | yes | — |
| sendgridApiKey | SendGrid API Key | yes | — |
| templatesDir | Templates directory | yes | — |
| partialsDir | Partials directory | no | — |
| templatePrefix | Template name prefixes | no | "" |
| subjectTemplate | Subject template | no | {{subject}} |
| preserveVersions | Number of versions to preserve per template | no | 2 |
| outputFile | Output file path for the mapping json | no | — |
| dryRun | Dry run | no | — |
| forceSyncAll | Force sync all files in templates dir (Useful for initial synchronization) | no | — |
Outputs
| name | description |
|---|---|
| sendgridTemplateIdMapping | JSON string which contains a mapping of template name(key) and template id(value) |