aboutsummaryrefslogtreecommitdiffhomepage
path: root/snap
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-07-26 22:15:21 -0700
committerGitHub <[email protected]>2023-07-26 22:15:21 -0700
commit575d7f8068082bf75ee4939fafa186c796a06a0c (patch)
tree6901c8aac96f2e25fa83ccfb686f35dddedce2b7 /snap
parent739d10e8bd17347bcc33ca3920fafb0bf59b2d27 (diff)
downloadhugo-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.yaml8
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: