Commit Graph

30 Commits

Author SHA1 Message Date
James M. Greene
07744da919 Fail if no artifact file is found to upload
Fixes #24
2023-03-23 22:37:03 -05:00
Kye Russell
98c5608efa Don't change file permissions of other files
Fixes #43
2022-12-16 12:44:24 +08:00
Yoann Chaudet
b27b6af8bf Merge branch 'main' into customize-artifact-name 2022-12-08 15:27:57 -08:00
Yoann Chaudet
6da3417318 Wording 2022-12-08 14:48:49 -08:00
Yoann Chaudet
386aa88c28 Include folder 2022-12-08 14:44:29 -08:00
Yuriy Danyliuk
90d4377601 Add new input for artifact name 2022-12-05 03:31:49 +02:00
Jess Bees
7d0004809d Print warnings about changed file permissions in bulk
This will avoid mangled output when files have spaces within them.
2022-11-29 16:56:15 -05:00
Jess Bees
6de1c7ae49 Fix the mac shell script 2022-11-15 10:18:49 -05:00
Jess Bees
de1b81a30a Use macos's non-gnu version of chmod 2022-11-14 11:41:47 -05:00
Jess Bees
61a978d261 Send a workflow warning when changing file permissions 2022-11-08 10:53:50 -05:00
Jess Bees
3cb2c0f93b Before tarring site, set file read permissions
Pages DFS needs the "group read" permission set on any file it serves,
so add read permission before tarring to prevent unreadable files from
being deployed.

This only applies to files that are built on an actions runner, not
files that are cloned from a git repoitory, because git's permissions
are limited to the equivalents of chmod 644 and 755.
2022-11-07 13:02:01 -05:00
Naïm Favier
12e73a1efa Fall back to sh on non-Windows
Fixes https://github.com/actions/upload-pages-artifact/issues/13
2022-10-29 11:59:56 +02:00
James M. Greene
fa880244ea Remove redundant environment variable 2022-09-02 17:14:45 -05:00
Kyle Lacy
70a14093be Handle weird input paths by passing as env var 2022-08-27 12:42:58 -07:00
James M. Greene
fd7afbc054 Add author 2022-08-10 13:59:28 -05:00
James M. Greene
16e781d8a4 Update action.yml 2022-08-10 12:49:12 -05:00
Dezmerean Robert
e361946409 Apply suggestions from code review
Co-authored-by: Yoann Chaudet <yoannchaudet@github.com>
2022-08-09 21:49:27 +03:00
Robert-96
ef7661905b Add support for macOS-based workflows 2022-08-09 02:25:59 +03:00
meowsbits
4fe9084ffa fix syntax typo 2022-08-03 08:05:15 -07:00
Yoann Chaudet
4143b6e8b8 Add support for tar on Windows 2022-08-01 06:53:06 -07:00
Yoann Chaudet
9bd2be6899 Merge pull request #1 from actions/doc
Document artifacts validation + reformat a few things
2022-07-13 12:15:18 -07:00
Yoann Chaudet
f4df6221cc Also .github folder from artifacts 2022-07-13 11:56:17 -07:00
Yoann Chaudet
8b46ca5bf4 Document artifacts validation + reformat a few things 2022-07-13 11:47:37 -07:00
Yoann Chaudet
2bcc396751 Fix typo 2022-05-24 14:30:41 -07:00
Yoann Chaudet
dcb017a530 Minor adjustments + retention 2022-05-24 11:12:29 -07:00
Tommy Byrd
f2cce63665 remove workspace from artifact path too 2022-05-10 22:20:24 -04:00
Tommy Byrd
83028f3e20 don't use workspace dir 2022-05-10 22:18:44 -04:00
Tommy Byrd
1a3fc4f053 add shell param 2022-05-10 22:17:15 -04:00
Tommy Byrd
4c1e52ec7d remove comment 2022-05-10 22:10:10 -04:00
Tommy Byrd
31685c90ba Create action.yml 2022-05-10 22:02:28 -04:00