Skip to content

Commit

Permalink
Merge pull request #187 from actions/update-deploy-error-message
Browse files Browse the repository at this point in the history
Add error message for file permissions
  • Loading branch information
tsusdere committed Jun 16, 2023
2 parents 80d8f1c + 157c090 commit 12ab2b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/internal/deployment.js
Expand Up @@ -17,6 +17,7 @@ const temporaryErrorStatus = {

const finalErrorStatus = {
deployment_failed: 'Deployment failed, try again later.',
deployment_perms_error: 'Deployment failed, Please ensure that the file permissions are correct.',
deployment_content_failed:
'Artifact could not be deployed. Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB.',
deployment_cancelled: 'Deployment cancelled.',
Expand Down

0 comments on commit 12ab2b1

Please sign in to comment.