File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 70
70
- uses : actions/checkout@v4
71
71
with :
72
72
ref : ${{ github.ref }}
73
+ ssh-key : ${{ secrets.DEPLOY_KEY_PRIVATE }}
73
74
- uses : pnpm/action-setup@v4
74
75
with :
75
76
version : latest
@@ -114,5 +115,11 @@ jobs:
114
115
[dependabot skip]
115
116
skip-empty : true
116
117
117
- - if : steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit
118
- run : git push
118
+ - name : Push
119
+ if : steps.commit-lockfile.outputs.commit || steps.commit-format.outputs.commit || steps.commit-lint.outputs.commit
120
+ run : |
121
+ eval `ssh-agent -s`
122
+ ssh-add - <<< "$DEPLOY_KEY_PRIVATE"
123
+ git push
124
+ env :
125
+ DEPLOY_KEY_PRIVATE : ${{ secrets.DEPLOY_KEY_PRIVATE }}
Original file line number Diff line number Diff line change 15
15
- uses : actions/checkout@v4
16
16
with :
17
17
ref : ${{ github.ref }}
18
+ ssh-key : ${{ secrets.DEPLOY_KEY_PRIVATE }}
18
19
- uses : pnpm/action-setup@v4
19
20
with :
20
21
version : latest
29
30
with :
30
31
message : 🔖 ${{ steps.patch.outputs.VERSION }}
31
32
32
- - run : |
33
+ - name : Push
34
+ run : |
35
+ eval `ssh-agent -s`
36
+ ssh-add - <<< "$DEPLOY_KEY_PRIVATE"
33
37
git push
34
- gh release create "$VERSION" --generate-notes --target "$COMMIT" --title "$VERSION"
38
+ env :
39
+ DEPLOY_KEY_PRIVATE : ${{ secrets.DEPLOY_KEY_PRIVATE }}
40
+
41
+ - run : gh release create "$VERSION" --generate-notes --target "$COMMIT" --title "$VERSION"
35
42
env :
36
43
COMMIT : ${{ steps.commit.outputs.commit }}
37
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments