diff options
| author | 2026-02-24 16:45:30 +0800 | |
|---|---|---|
| committer | 2026-02-24 16:45:30 +0800 | |
| commit | 9fadcc13512affc379551d3475eb96f0c9cc79d4 (patch) | |
| tree | b18f81f6e9a8e1e91bc07f3a79efca93b557811f | |
| parent | f590fb19c10ed549dd1aa45e5bc44db37fe01960 (diff) | |
| download | soon-9fadcc13512affc379551d3475eb96f0c9cc79d4.tar.gz soon-9fadcc13512affc379551d3475eb96f0c9cc79d4.zip | |
Update publish-aur.yml for AUR deployment
Add steps to install dependencies and configure SSH for AUR.
| -rw-r--r-- | .github/workflows/publish-aur.yml | 8 |
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 |