Skip to content

Commit bcfb0af

Browse files
committed
change cd pipeline to use ssh key
1 parent 81c93ea commit bcfb0af

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ jobs:
5656
java-version: 21
5757
distribution: temurin
5858
cache: maven
59-
server-id: github
60-
server-password: SITE_DEPLOY
59+
60+
- uses: webfactory/[email protected]
61+
with:
62+
ssh-private-key: ${{ secrets.JDBI_GITHUB_IO_DEPLOY_KEY }}
6163

6264
- name: deploy documentation
6365
env:
64-
SITE_DEPLOY: ${{ secrets.SITE_DEPLOY_TOKEN }}
6566
MAVEN_CONFIG: "-B -ff"
6667
run: |
6768
make deploy-site

0 commit comments

Comments
 (0)