This commit is contained in:
Varun 2020-11-02 10:48:05 +05:30
parent b4ceb91249
commit 53128a0365
No known key found for this signature in database
GPG key ID: 93FB46DCF16E0D6F

View file

@ -78,6 +78,6 @@ function github_url( $raw = false, $repository = false, $branch = false, $file_p
}
function gh_commit( $file, $commit_msg = 'File Updated' ) {
shell_exec( 'git add -f ' . GH_WORKSPACE . $file );
shell_exec( 'git add -f ' . GH_WORKSPACE . fix_path( $file ) );
shell_exec( 'git commit -m "' . $commit_msg . '" ' );
}