Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accessing files outside of dotter directory #187

Open
quintrino opened this issue Sep 22, 2024 · 0 comments
Open

Accessing files outside of dotter directory #187

quintrino opened this issue Sep 22, 2024 · 0 comments
Labels

Comments

@quintrino
Copy link

Hi,

I wanted to access a file outside of my dotter directory (because it contains secrets)

At the moment I'm using

{{ command_output "cat ../path/to/file/private.yml" }}

As a template inside my dotfiles.

Is this the right approach?

The other option is to symlink in a post-deploy hook. I'm not sure what's preferable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant