aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-02-24 16:45:30 +0800
committerGitHub <noreply@github.com>2026-02-24 16:45:30 +0800
commit9fadcc13512affc379551d3475eb96f0c9cc79d4 (patch)
treeb18f81f6e9a8e1e91bc07f3a79efca93b557811f /.github/workflows
parentf590fb19c10ed549dd1aa45e5bc44db37fe01960 (diff)
downloadsoon-9fadcc13512affc379551d3475eb96f0c9cc79d4.tar.gz
soon-9fadcc13512affc379551d3475eb96f0c9cc79d4.zip
Update publish-aur.yml for AUR deployment
Add steps to install dependencies and configure SSH for AUR.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/publish-aur.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/publish-aur.yml b/.github/workflows/publish-aur.yml
index 75adf54..281e9c3 100644
--- a/.github/workflows/publish-aur.yml
+++ b/.github/workflows/publish-aur.yml
@@ -32,7 +32,13 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
-
+
+ - name: Install dependencies
+ run: pacman -Sy --noconfirm git openssh base-devel
+
+ - name: Add AUR host to known_hosts
+ run: ssh-keyscan -t ed25519 aur.archlinux.org >> ~/.ssh/known_hosts
+
- name: Clone AUR repository and update PKGBUILD
run: |
git clone ssh://aur@aur.archlinux.org/soon.git aur-repo