Skip to content

Commit 1c2348a

Browse files
properly set the tokens
1 parent d3354ca commit 1c2348a

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

flat-manager/dist/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,22 @@ const run = (repository, flatManagerUrl, token) => {
2020
])
2121
.then(async () => {
2222
const buildId = await exec.exec('flat-manager-client', [
23+
'--token',
24+
token,
2325
'create',
2426
flatManagerUrl,
2527
repository,
26-
'--token',
27-
token
2828
])
2929
return buildId
3030
})
3131
.then(async (buildId) => {
3232
await exec.exec('flat-manager-client', [
33+
'--token',
34+
token,
3335
'push',
3436
'--commit',
3537
'--publish',
36-
'--wait',
37-
'--token',
38-
token,
38+
'--wait',
3939
buildId,
4040
LOCAL_REPO_NAME,
4141
])

flat-manager/index.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ const run = (repository, flatManagerUrl, token) => {
1313
])
1414
.then(async () => {
1515
const buildId = await exec.exec('flat-manager-client', [
16+
'--token',
17+
token,
1618
'create',
1719
flatManagerUrl,
1820
repository,
19-
'--token',
20-
token
2121
])
2222
return buildId
2323
})
2424
.then(async (buildId) => {
2525
await exec.exec('flat-manager-client', [
26+
'--token',
27+
token,
2628
'push',
2729
'--commit',
2830
'--publish',
29-
'--wait',
30-
'--token',
31-
token,
31+
'--wait',
3232
buildId,
3333
LOCAL_REPO_NAME,
3434
])

0 commit comments

Comments
 (0)