diff options
author | Joe Mooring <[email protected]> | 2023-07-26 22:15:21 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-26 22:15:21 -0700 |
commit | 575d7f8068082bf75ee4939fafa186c796a06a0c (patch) | |
tree | 6901c8aac96f2e25fa83ccfb686f35dddedce2b7 /snap | |
parent | 739d10e8bd17347bcc33ca3920fafb0bf59b2d27 (diff) | |
download | hugo-575d7f8068082bf75ee4939fafa186c796a06a0c.tar.gz hugo-575d7f8068082bf75ee4939fafa186c796a06a0c.zip |
snap: Allow access to SSH keys and $HOME/.config/hugo
Closes #11288
Diffstat (limited to 'snap')
-rw-r--r-- | snap/snapcraft.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2c5fa7dc0..71caa65c3 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -59,6 +59,12 @@ plugs: interface: personal-files read: - $HOME/.config/gcloud + dot-cache-hugo: + interface: personal-files + write: + - $HOME/.cache/hugo + ssh-keys: + interface: ssh-keys environment: HOME: $SNAP_REAL_HOME @@ -95,6 +101,8 @@ apps: - dot-aws - dot-azure - dot-config-gcloud + - dot-cache-hugo + - ssh-keys parts: git: |