Skip to content

Commit

Permalink
a few fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall committed Aug 2, 2024
1 parent f344a6d commit 138d72f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@ jobs:
*.sig
archlinux-aur:
# description: creates and uploads a PKGBUILD file to the golift/aur repo for arch linux.
if: startsWith(github.ref, 'refs/tags/v')
# description: creates and uploads a PKGBUILD file to the official aur repo from Arch Linux.
needs:
- release
name: Deploy ArchLinux AUR
Expand Down
3 changes: 2 additions & 1 deletion init/archlinux/aur-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ push_it() {
set -e

if [[ -n $DEPLOY_KEY ]]; then
KEY_FILE=$(mktemp -u "$HOME"/.ssh/XXXXX)
mkdir "${HOME}/.ssh/"
KEY_FILE=$(mktemp -u "${HOME}/.ssh/XXXXX")
echo "${DEPLOY_KEY}" > "${KEY_FILE}"
chmod 600 "${KEY_FILE}"
# Configure ssh to use this secret.
Expand Down

0 comments on commit 138d72f

Please sign in to comment.