Skip to content

Commit

Permalink
Deploy Production Code for Commit ae37c60 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesIves committed Apr 26, 2022
1 parent ae37c60 commit 8817a56
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 8 deletions.
7 changes: 6 additions & 1 deletion lib/git.js
Expand Up @@ -86,7 +86,12 @@ function deploy(action) {
Boolean((yield (0, execute_1.execute)(`git ls-remote --heads ${action.repositoryPath} refs/heads/${action.branch}`, action.workspace, action.silent)).stdout);
yield (0, worktree_1.generateWorktree)(action, temporaryDeploymentDirectory, branchExists);
/* Relaxes permissions of folder due to be deployed so rsync can write to/from it. */
yield (0, execute_1.execute)(`chmod -R +rw ${action.folderPath}`, action.workspace, action.silent);
try {
yield (0, execute_1.execute)(`chmod -R +rw ${action.folderPath}`, action.workspace, action.silent);
}
catch (_a) {
(0, core_1.info)(`Unable to modify permissions…`);
}
// Ensures that items that need to be excluded from the clean job get parsed.
let excludes = '';
if (action.clean && action.cleanExclude) {
Expand Down
2 changes: 1 addition & 1 deletion node_modules/@types/node/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 28 additions & 4 deletions node_modules/@types/node/crypto.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions node_modules/@types/node/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8817a56

Please sign in to comment.