Skip to content

Commit

Permalink
.github: debug docs workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Joao Eduardo Luis <[email protected]>
  • Loading branch information
jecluis committed Mar 30, 2024
1 parent 1797f5a commit c82ffd7
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,25 @@ jobs:
GITHUB_TOKEN: ${{ secrets.DOCS_DEPLOY_SECRET }}
run: |
mkdir -p ${HOME}/.ssh || true
chmod 700 ${HOME}/.ssh || exit 1
echo -e "${GITHUB_KEY}\n" > ${HOME}/.ssh/github
chmod 600 ${HOME}/.ssh/github
cat <<EOF>${HOME}/.ssh/config
Host github
Hostname github.com
IdentityFile ~/.ssh/github
User git
Hostname github.com
IdentityFile ~/.ssh/github
User git
EOF
chmod 600 ${HOME}/.ssh/config
ssh-agent -a /tmp/ssh-auth.sock || exit 1
export SSH_AUTH_SOCK=/tmp/ssh-auth.sock
ssh-add ~/.ssh/github
- name: debug
run: |
cat ~/.ssh/config
- name: Update docs repository
run: |
Expand Down

0 comments on commit c82ffd7

Please sign in to comment.