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 4ef282e commit d9aa016
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ runs:
# image: "src/Dockerfile"
steps:
- name: github sync
run: ./entrypoint.sh
working-directory: src/
run: src/entrypoint.sh
# working-directory: src/
shell: bash
id: sync
env:
Expand Down
6 changes: 3 additions & 3 deletions src/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -e
# set -u
# set -x

# shellcheck source=src/sync_common.sh
source sync_common.sh
# shellcheck source=./sync_common.sh
source ./sync_common.sh

###########################################
# Precheks
Expand Down Expand Up @@ -111,7 +111,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 gpg_no_tty.sh
git config gpg.program "$(pwd)/gpg_no_tty.sh"

info "done prepare gpg"
echo "::endgroup::"
Expand Down
4 changes: 2 additions & 2 deletions src/sync_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -e
# set -u
# set -x

# shellcheck source=src/sync_template.sh
source sync_common.sh
# shellcheck source=./sync_template.sh
source ./sync_common.sh

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

0 comments on commit d9aa016

Please sign in to comment.