Skip to content

Commit 64b96c3

Browse files
committed
Try again
1 parent d37e6f6 commit 64b96c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { exec } from '@actions/exec'
44
import { execSync } from 'child_process'
55
import { valid as validSemver } from 'semver'
66
import { desc as semverSort } from 'semver-sort'
7+
import { join } from 'path'
78

89
const {
910
GITHUB_ACTOR,
@@ -30,7 +31,7 @@ const {
3031
if (sourceType == 'tag' && validSemver(refName) && refName == getLastTag())
3132
options.env.updateLatest = 'yes'
3233

33-
await exec(await which('bash', true), ['../src/deploy.sh'], options)
34+
await exec(await which('bash', true), [join(__dirname, '../src/deploy.sh')], options)
3435
}
3536
catch (e) {
3637
const error =

0 commit comments

Comments
 (0)