File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v3
13+ uses : actions/checkout@v6
1414
1515 - name : Get repository name
1616 run : echo "REPOSITORY_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
@@ -53,11 +53,11 @@ jobs:
5353 git config --global user.email "[email protected] " 5454 git config --global user.name "gr4vy-code"
5555 ssh-keyscan -H github.com > ~/.ssh/known_hosts
56- GIT_SSH='ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts'
56+ GIT_SSH='ssh -i ~/.ssh/id_ed25519 -o UserKnownHostsFile=~/.ssh/known_hosts -o IdentitiesOnly=yes '
5757
5858 # clone the storage repo
5959 CLONE_DIR=$(mktemp -d)
60- GIT_SSH_COMMAND=$GIT_SSH git clone [email protected] :gr4vy-escrow/software-escrow.git "$CLONE_DIR" 60+ GIT_SSH_COMMAND=$GIT_SSH git clone --depth 1 [email protected] :gr4vy-escrow/software-escrow.git "$CLONE_DIR" 6161
6262 # copy the new encrypted archive file
6363 cp -R "${{ runner.temp }}/${{ env.REPOSITORY_NAME }}.tar.gz.gpg" "$CLONE_DIR"
6969 git commit --message "$INPUT_COMMIT_MESSAGE"
7070 GIT_SSH_COMMAND=$GIT_SSH git push -u origin main
7171
72- echo "commit_hash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
73-
You can’t perform that action at this time.
0 commit comments