Skip to content

Commit 4e5dc33

Browse files
authored
Merge pull request kubernetes-csi#448 from pohly/github-actions
build: use custom SSH key
2 parents a4a6401 + bcb160a commit 4e5dc33

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: push
1+
name: publish
22

33
# Controls when the workflow will run
44
on:
@@ -31,3 +31,9 @@ jobs:
3131
with:
3232
branch: gh-pages
3333
folder: docs
34+
git-config-name: GitHub Actions
35+
git-config-email: github-actions@kubernetes-csi
36+
# This secret was created in the repo's settings under "Secrets".
37+
# It contains an SSH private key created specifically for this job.
38+
# The corresponding public key was added to the repo's deploy keys.
39+
ssh-key: ${{ secrets.DEPLOY_KEY }}

0 commit comments

Comments
 (0)