From 575d7f8068082bf75ee4939fafa186c796a06a0c Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Wed, 26 Jul 2023 22:15:21 -0700 Subject: [PATCH] snap: Allow access to SSH keys and $HOME/.config/hugo Closes #11288 --- snap/snapcraft.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 2c5fa7dc06c..71caa65c39d 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: