From 4facd86a196de70fd08633ae0fc085c605898b86 Mon Sep 17 00:00:00 2001 From: Kim Pepper Date: Mon, 29 Apr 2024 14:53:16 +1000 Subject: [PATCH] Use apt repository to install skpr (#6) --- .github/workflows/deploy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c7300f7..71322b6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -61,8 +61,9 @@ jobs: show-progress: false - name: ⚙️ Install Skpr CLI run: | - gh release download --repo skpr/cli --pattern skpr_*_linux_amd64.deb -O skpr-cli.deb - sudo dpkg -i skpr-cli.deb + wget -q https://packages.skpr.io/apt/packages.skpr.io.pub -O- | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/packages.skpr.io.pub > /dev/null + echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.skpr.io.pub] https://packages.skpr.io/apt stable main" | sudo tee -a /etc/apt/sources.list.d/skpr.list > /dev/null + sudo apt update && sudo apt install skpr - name: 🔢 Get version id: version run: |