]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
snap: Allow access to SSH keys and $HOME/.config/hugo
authorJoe Mooring <joe@mooring.com>
Thu, 27 Jul 2023 05:15:21 +0000 (22:15 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Jul 2023 05:15:21 +0000 (22:15 -0700)
Closes #11288

snap/snapcraft.yaml

index 2c5fa7dc06c34b0668f7dc476f88926e89f7387a..71caa65c39d82b97e979cd222acc7c2c099f6f3d 100644 (file)
@@ -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: