Skip to content

Commit

Permalink
now that we verified we need it, re-introduce ssh-agent stuff to push
Browse files Browse the repository at this point in the history
  • Loading branch information
renerocksai committed Sep 11, 2024
1 parent a9965f7 commit 93d9359
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@ jobs:
date >> README.md
git add .
git remote add sshtarget [email protected]:zml/docs
eval "$(ssh-agent -s)"
ssh-keyscan -t ed25519 github.com > ~/.ssh/known_hosts
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
git commit -m "Update GitHub Pages"
git push sshtarget docs
# try the x-access url
# the token only has read access!!!!
# alternative with the x-access url
# but: the token only has read access!!!!
# git push https://x-access-token:${{ secrets.ORG_PAT }}@github.com/zml/zml.git docs

0 comments on commit 93d9359

Please sign in to comment.