Skip to content

Commit a7b4aa6

Browse files
authored
Github action: fix deployment script issue caused by actions bump (#2497)
1 parent 1c15654 commit a7b4aa6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
with:
141141
github-token: ${{ secrets.my_token }}
142142
script: |
143-
github.repos.createRelease({
143+
github.rest.repos.createRelease({
144144
owner: context.repo.owner,
145145
repo: process.env.repo,
146146
tag_name: process.env.ref_name,
@@ -185,7 +185,7 @@ jobs:
185185
with:
186186
github-token: ${{ secrets.my_token }}
187187
script: |
188-
github.repos.createRelease({
188+
github.rest.repos.createRelease({
189189
owner: context.repo.owner,
190190
repo: process.env.repo,
191191
tag_name: process.env.ref_name,
@@ -228,7 +228,7 @@ jobs:
228228
with:
229229
github-token: ${{ secrets.my_token }}
230230
script: |
231-
github.repos.createRelease({
231+
github.rest.repos.createRelease({
232232
owner: context.repo.owner,
233233
repo: process.env.repo,
234234
tag_name: process.env.ref_name,
@@ -288,7 +288,7 @@ jobs:
288288
with:
289289
github-token: ${{ secrets.my_token }}
290290
script: |
291-
github.repos.createRelease({
291+
github.rest.repos.createRelease({
292292
owner: context.repo.owner,
293293
repo: process.env.repo,
294294
tag_name: process.env.ref_name,

0 commit comments

Comments
 (0)