Skip to content

Commit 96b609d

Browse files
committed
fixup! fixup! Add deployment to GHA
1 parent e729716 commit 96b609d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ jobs:
6969
git add .
7070
git commit -m "Automatic deploy to GitHub Pages: ${SHA}"
7171
72-
echo ${{ secrets.DEPLOY_KEY }} > .github/deploy_key
73-
chmod 600 .github/deploy_key
7472
eval "$(ssh-agent -s)"
75-
ssh-add .github/deploy_key
73+
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
7674
7775
git push "$SSH_REPO" "$TARGET_BRANCH"

0 commit comments

Comments
 (0)