fix: permission error on pulling repo

This commit is contained in:
ecss committed 2026-10-10 05:10:54 +00:00
1 parent d25f4e4e71
commit 1a201e5518
1 file changed
-8
-8
View File
@@ -36,14 +36,6 @@ echo "==> Installing prerequisites"
apt-get update
apt-get install -y debian-keyring debian-archive-keyring apt-transport-https curl
echo "==> Adding Caddy's official GPG key"
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
chmod o+r /usr/share/keyrings/caddy-stable-archive-keyring.gpg
echo "==> Adding Caddy apt repository"
curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list >/dev/null
chmod o+r /etc/apt/sources.list.d/caddy-stable.list
echo "==> Installing Caddy"
apt-get update
apt-get install -y caddy