Skip to content

Commit

Permalink
fix: 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAugustin committed Mar 11, 2024
1 parent 16730b2 commit 3522062
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function gpg_setup() {
KEY_ID="$(gpg --list-secret-key --with-colons "${git_user_email}" | awk -F: '/sec:/ {print $5}')"
git config user.signingkey "${KEY_ID}"
git config commit.gpgsign true
git config gpg.program "$(pwd)/gpg_no_tty.sh"
git config gpg.program "${SCRIPT_DIR}/gpg_no_tty.sh"

info "done prepare gpg"
echo "::endgroup::"
Expand Down Expand Up @@ -176,4 +176,4 @@ if [[ -n "${GPG_PRIVATE_KEY}" ]] &>/dev/null; then
fi

# shellcheck source=src/sync_template.sh
source sync_template.sh
source "${SCRIPT_DIR}/sync_template.sh"
4 changes: 3 additions & 1 deletion src/sync_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ set -e
# set -u
# set -x

SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"

# shellcheck source=./sync_template.sh
source ./sync_common.sh
source "${SRIPT_DIR}/sync_common.sh"

############################################
# Prechecks
Expand Down

0 comments on commit 3522062

Please sign in to comment.