install.fairie/home/dot_config/ngrok/ngrok.yml.tmpl

4 lines
364 B
Cheetah
Raw Normal View History

2023-03-19 23:38:30 -07:00
{{- if (or (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "NGROK_AUTH_TOKEN")) (env "NGROK_AUTH_TOKEN")) -}}
version: "2"
authtoken: '{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "NGROK_AUTH_TOKEN")) }}{{ includeTemplate "secrets/NGROK_AUTH_TOKEN" | decrypt }}{{ else }}{{ env "NGROK_AUTH_TOKEN" }}{{ end }}'
2023-01-25 19:54:53 -08:00
{{- end -}}