Skip to content

Commit

Permalink
fix: absolute directories for aur
Browse files Browse the repository at this point in the history
  • Loading branch information
brittonhayes committed Nov 28, 2024
1 parent 70fd947 commit 1092ebd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
go-version: 1.21
- name: Set up SSH key for AUR
run: |
mkdir -p ~/.ssh
echo "${{ secrets.AUR_KEY }}" > ~/.ssh/aur
chmod 600 ~/.ssh/aur
mkdir -p /home/runner/.ssh
echo "${{ secrets.AUR_KEY }}" > /home/runner/.ssh/aur
chmod 600 /home/runner/.ssh/aur
eval $(ssh-agent)
ssh-add ~/.ssh/aur
ssh-add /home/runner/.ssh/aur
ssh-keyscan aur.archlinux.org >> /home/runner/.ssh/known_hosts
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ aurs:
maintainers:
- "brittonhayes <[email protected]>"
license: "MIT"
private_key: "~/.ssh/aur"
private_key: "/home/runner/.ssh/aur"
git_url: "ssh://[email protected]/pillager-bin.git"
provides:
- pillager
Expand Down

0 comments on commit 1092ebd

Please sign in to comment.