Commit Graph

39 Commits

Author SHA1 Message Date
Yannik Rödel
0c20c87f97
Add input options related to copy() (#161)
* Add absolute_build_dir input option

This commit adds absolute_build_dir as an additional input. If the
option is set, the provided build_dir argument won't be treated as a
relative path to the current working directory anymore. This is helpful
in environments like Nix, where the build is output to a static folder
(for example /nix/store).

Closes #159.

* Add follow_symlinks option

This option allows symbolic links in the source directory to be
followed, recursively copying the entire directory structure.

* Update outputs

* Add missing inputs to action.yml

* Add default values to input options

This concerns absolute_build_dir and follow_symlinks.

Co-authored-by: CrazyMax <github@crazymax.dev>

Co-authored-by: CrazyMax <github@crazymax.dev>
2022-01-13 10:51:54 +01:00
CrazyMax
5613bd5086
Add verbose input (#150)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-30 05:00:48 +02:00
CrazyMax
d3e101b22a
Add dry-run input (#144)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-13 02:23:35 +02:00
CrazyMax
e64e818e83
Bring back copySync (#135)
Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-03-16 01:36:23 +01:00
CrazyMax
c6b59a0018
Switch to domain input for GIT_DOMAIN 2021-03-16 00:04:53 +01:00
Libor Krzyzanek
111278e49f
Added GIT_DOMAIN env variable to override default domain (#133) 2021-03-15 10:13:58 +01:00
CrazyMax
6963e12505
Use native copy (#129) 2020-11-12 06:33:35 +01:00
CrazyMax
45b1e3298a
Allow to overwrite on copy to temp folder
Show changed files in group
2020-11-11 22:44:11 +01:00
CrazyMax
0a42a19ca7
Dereference symlinks (#121) 2020-08-06 15:04:46 +02:00
Monkey Juice
dc8a6933d3
fix Cloning repo log error (#118) 2020-07-19 16:29:36 +00:00
CrazyMax
867c18df2c
Update deps 2020-06-25 09:38:28 +02:00
George Marshall
3604e9d98b
Add jekyll input option (#116)
GitHub Pages will use Jekyll to build your site by default. This input
option allows for this functionality to be disabled. The option is left
to `true` by default as setting to `false` will cause the `.nojekyll`
file to be written to the output directory.

https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators
2020-06-25 07:24:31 +00:00
CrazyMax
361e8038b1
Update workflows 2020-05-11 15:10:53 +02:00
CrazyMax
077e8dcf81
Add ability to sign commits through Import GPG GitHub Action
Add author input
Fix default committer and author for GitHub Actions bot
Replace GITHUB_PAT env var with GH_PAT (#53)
Replace committer_name and committer_email inputs with committer
2020-05-11 14:59:39 +02:00
CrazyMax
5eecabb9a5
Keep PAT if you want to deploy to another repo 2020-05-04 02:02:18 +02:00
CrazyMax
1b93ebd380
Add warning about PAT 2020-05-04 01:36:39 +02:00
CrazyMax
63bd035710
Check no changes (#62) 2020-02-11 13:38:54 +01:00
Sean Krail
1b94a74dfc fix fqdn CNAME writeFileSync (#32)
Fix fqdn CNAME writeFileSync
2019-11-26 08:31:04 +01:00
CrazyMax
41ad18c22f
Fix keep history (#27) 2019-11-19 13:15:50 +01:00
CrazyMax
ba06a833cc
Trim token (#25) 2019-11-19 00:33:27 +01:00
CrazyMax
2e1ed62459
Fix inputs 2019-11-16 15:04:57 +01:00
CrazyMax
ea73c1c442
Copy files after clone 2019-11-15 16:36:31 +01:00
CrazyMax
6795b3f28e
Display content 2019-11-15 16:33:21 +01:00
CrazyMax
38e9e1525a
Fix build dir 2019-11-15 16:29:46 +01:00
CrazyMax
5c14c1abc5
Use fs-extra 2019-11-15 16:20:34 +01:00
CrazyMax
8cdc7f91b1
Fix ncp 2019-11-15 16:09:01 +01:00
CrazyMax
d40e8cac3d
Fix test 2019-11-15 16:02:57 +01:00
CrazyMax
df22265ecc
Copy dir first 2019-11-15 15:57:27 +01:00
CrazyMax
7c405fa2a8
Clone if remote branch exists
Fix committer name/email inputs
2019-11-15 15:25:50 +01:00
CrazyMax
1c2389336c
Checkout orphan 2019-11-15 15:05:12 +01:00
CrazyMax
094f87438c
Add all 2019-11-15 15:01:51 +01:00
CrazyMax
6fb76d901c
Fix unknown ref 2019-11-15 14:48:42 +01:00
CrazyMax
489bbd6a6b
Add keep_history, allow_empty_commit and fqdn inputs (#23)
Log latest changes
2019-11-15 14:40:43 +01:00
CrazyMax
acd6b53b3f
Review some inputs 2019-11-06 03:10:09 +01:00
CrazyMax
0bbea585a5
Match vars and inputs 2019-11-06 03:02:59 +01:00
Sergey Zwezdin
560d9799e9 Customization for commit message, committer name/email (#9) 2019-11-06 02:46:35 +01:00
CrazyMax
7cefd30345
Typo 2019-10-11 01:47:41 +02:00
CrazyMax
7c7fc1c5f6
Fix gitURL 2019-10-11 01:46:14 +02:00
CrazyMax
95b7f65790
Switch to TypeScript Action (#3) 2019-10-11 01:41:16 +02:00