File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { exec } from '@actions/exec'
4
4
import { execSync } from 'child_process'
5
5
import { valid as validSemver } from 'semver'
6
6
import { desc as semverSort } from 'semver-sort'
7
- import { resolve } from 'path'
8
7
9
8
const {
10
9
GITHUB_ACTOR ,
@@ -17,7 +16,6 @@ const {
17
16
( async ( ) => {
18
17
try {
19
18
const options = {
20
- cwd : resolve ( __dirname , '..' ) ,
21
19
env : {
22
20
HOME : HOME || '' ,
23
21
refName : GITHUB_REF ?. split ( '/' ) . pop ( ) || '' ,
@@ -32,7 +30,7 @@ const {
32
30
if ( sourceType == 'tag' && validSemver ( refName ) && refName == getLastTag ( ) )
33
31
options . env . updateLatest = 'yes'
34
32
35
- await exec ( await which ( 'bash' , true ) , [ 'src/deploy.sh' ] , options )
33
+ await exec ( await which ( 'bash' , true ) , [ '../ src/deploy.sh' ] , options )
36
34
}
37
35
catch ( e ) {
38
36
const error =
You can’t perform that action at this time.
0 commit comments