Skip to content

Commit

Permalink
feature/fix key loading
Browse files Browse the repository at this point in the history
  • Loading branch information
cutoffthetop committed Mar 4, 2024
1 parent 980f563 commit 08c23b6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cookiecutter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PUB: ${{ secrets.SIGNING_PUB }}
run: |
eval "$(ssh-agent -s)"
mkdir -p 700 ~/.ssh
echo $SIGNING_PUB >> ~/.ssh/mex.pub
echo $SIGNING_PUB > ~/.ssh/mex.pub
chmod 644 ~/.ssh/mex.pub
echo $SIGNING_KEY >> ~/.ssh/mex
echo $SIGNING_KEY > ~/.ssh/mex
chmod 600 ~/.ssh/mex
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/mex
ls -lah ~/.ssh
ssh-add ~/.ssh/mex
ssh-add -L
git config --local user.email ${{ vars.MEX_BOT_EMAIL }}
git config --local user.name ${{ vars.MEX_BOT_USER }}
Expand All @@ -81,7 +81,7 @@ jobs:
cruft update --skip-apply-ask
printf '# Changes\n\n- bumped cookiecutter template to %s/commit/%s\n' "$template_url" "$template_ref" > .cruft-pr-body
if [[ $(git status --porcelain | grep .rej | wc -c) -ne 0 ]]; then
printf '\n# Conflicts\n' >> .cruft-pr-body
printf '\n# Conflicts\n' > .cruft-pr-body
fi
git status --porcelain | grep .rej | awk '{print $2;}' | while read -r line ; do
printf '\n```' >> .cruft-pr-body
Expand Down

0 comments on commit 08c23b6

Please sign in to comment.