Skip to content

Commit 1c48dd4

Browse files
committed
Update publish-aur.yml
1 parent f13693f commit 1c48dd4

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/publish-aur.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,13 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
1616

17-
- name: Set up SSH
18-
run: |
19-
mkdir -p ~/.ssh
20-
echo "${{ secrets.AUR_SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_ed25519
21-
chmod 600 ~/.ssh/id_ed25519
22-
ssh-keygen -y -f ~/.ssh/id_ed25519 > ~/.ssh/id_ed25519.pub # Ensure valid key
23-
eval "$(ssh-agent -s)"
24-
ssh-add ~/.ssh/id_ed25519
25-
ssh-keyscan -t ed25519 aur.archlinux.org >> ~/.ssh/known_hosts
17+
- uses: webfactory/[email protected]
18+
with:
19+
ssh-private-key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
2620

2721
- name: Clone AUR repository
2822
run: |
29-
git clone ssh://[email protected]/YOUR-PACKAGE-NAME.git aur-repo
23+
git clone ssh://[email protected]/python-i686-bin.git aur-repo
3024
cd aur-repo
3125
3226
- name: Copy necessary files

0 commit comments

Comments
 (0)