Skip to content

Commit

Permalink
Move to an ssh key.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoavo-codium committed Nov 11, 2024
1 parent c3e57d5 commit b221276
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs-to-proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
repository: Codium-ai/codium-proxy
ref: main
path: codium-proxy
token: ${{secrets.CODIUM_PROXY_TOKEN}}
ssh-key: ${{secrets.CODIUM_PROXY_SSH}}

- name: Make updates to codium-proxy docs content
working-directory: codium-proxy
Expand All @@ -43,8 +43,6 @@ jobs:
id: push-branch
continue-on-error: true # In case the branch fails we want to notify users on slack.
working-directory: codium-proxy
env:
CODIUM_PROXY_TOKEN: ${{ secrets.CODIUM_PROXY_TOKEN }}
run: |
git push -u origin update-docs-context-branch
Expand All @@ -54,7 +52,7 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
run: |
curl -X POST -H 'Content-type: application/json' \
--data "{\"text\":\"A update-docs branch already exist, please delete it and re-run the workflow\"}" \"}" \
--data '{\"text\":\"A update-docs branch already exist, please delete it and re-run the workflow\"}' \
$SLACK_WEBHOOK_URL
- name: Stop workflow on failure
Expand Down

0 comments on commit b221276

Please sign in to comment.