Skip to content

Commit 07d1a2e

Browse files
committed
use ssh for git
1 parent 9f313e4 commit 07d1a2e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ jobs:
3535
repository: WesJD/mvn.wesjd.net
3636
path: mvn-wesjd-net
3737
ref: main
38+
ssh-key: ${{ secrets.MVN_WESJD_NET_DEPLOY_KEY }}
3839

3940
- name: Copy artifacts
4041
run: cp -R deploy-temp/* mvn-wesjd-net/
4142

4243
- name: Commit and push
4344
run: |
4445
cd mvn-wesjd-net
46+
git remote set-url origin [email protected]:WesJD/mvn.wesjd.net.git
4547
git config user.name "github-actions[bot]"
4648
git config user.email "github-actions[bot]@users.noreply.github.com"
4749
git add .

0 commit comments

Comments
 (0)