Skip to content

Commit 15a13c3

Browse files
committed
fix: use proper uploadAction ref name
1 parent bc3ea1b commit 15a13c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/uploadAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default async (bucketName: string, uploadDirectory: string, environmentPr
4040

4141
const deployment = await githubClient.repos.createDeployment({
4242
...repo,
43-
ref: `refs/heads/${branchName}`,
43+
ref: `${branchName}`,
4444
environment: `${environmentPrefix || 'ACTION-'}${dayjs().format('DD-MM-YYYY-hh:mma')}`,
4545
auto_merge: false,
4646
transient_environment: true,

0 commit comments

Comments
 (0)