Skip to content

Commit a2f90ce

Browse files
committed
trying without repeating the ssh-agent stuff
1 parent 6b0f6cf commit a2f90ce

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/deploy-gh-pages.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,18 @@ jobs:
6666
run: |
6767
cd gh-pages
6868
git config --global user.name 'github-actions'
69-
git config --global user.email '[email protected]'
69+
git config --global user.email '[email protected]'
7070
git add .
7171
git remote add sshtarget [email protected]:zml/docs
72-
eval "$(ssh-agent -s)"
73-
ssh-keyscan -t ed25519 github.com > ~/.ssh/known_hosts
74-
ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
72+
73+
# eval "$(ssh-agent -s)"
74+
# ssh-keyscan -t ed25519 github.com > ~/.ssh/known_hosts
75+
# ssh-add - <<< "${{ secrets.DEPLOY_KEY }}"
76+
7577
git commit -m "Update GitHub Pages"
7678
git push sshtarget docs
79+
80+
7781
# try the x-access url
7882
# the token only has read access!!!!
7983
# git push https://x-access-token:${{ secrets.ORG_PAT }}@github.com/zml/zml.git docs

0 commit comments

Comments
 (0)