Commit Graph

39 Commits

Author SHA1 Message Date
Shohei Ueda f80024481c
refactor: Enhance log (#444) 2020-08-09 09:48:27 +09:00
Shohei Ueda 079d48367e
feat: Add .nojekyll file by default for all branches (#438) 2020-08-02 15:11:20 +09:00
Shohei Ueda 6f45501409
feat: exclude_assets supports glob patterns (#417)
Related to #163

https://github.com/actions/toolkit/tree/main/packages/glob
2020-07-25 21:54:06 +09:00
Shohei Ueda 0f5c65e140
feat: Add exclude_assets option (#416)
Related to #163
2020-07-25 20:52:35 +09:00
Andreas Linde 674c2318ce
fix: copyAssets() for destination_dir (#414) 2020-07-25 19:36:43 +09:00
Shohei Ueda 6f6bb2661a
fix: set full path of publishing assets (#413)
https://github.com/peaceiris/actions-gh-pages/issues/410#issuecomment-663507581
2020-07-24 21:33:08 +09:00
peaceiris 3667febec5
refactor: change message type from warning to info 2020-07-24 00:49:02 +09:00
peaceiris 612f1f7579
fix: chdir to workDir after copied assets
Related to #324
2020-07-24 00:40:01 +09:00
Shohei Ueda ce4e3beff1
fix: KeepFiles behaviour when DestinationDir has dir (#405)
Related to #324
2020-07-21 12:53:14 +09:00
Shohei Ueda f30118c78e
feat: Add destination_dir option (#403)
Related to #324 #390
2020-07-21 11:15:53 +09:00
favonia e193524bff
feat: Allow absolute path for publish_dir (#400)
Close #242
2020-07-18 12:55:50 +09:00
Shohei Ueda 3d656402e5
feat: enhance error message (#398) 2020-07-15 02:04:43 +09:00
Zach f53ab0c2a5
fix: isProhibitedBranch detection (#394)
Co-authored-by: peaceiris <30958501+peaceiris@users.noreply.github.com>
2020-07-14 09:05:55 +09:00
Shohei Ueda 2e976845a6
feat: enhance log message (#383)
Add warning deploy_key on windows-latest
- Currently, the deploy_key option is not supported on the windows-latest.
- Related #87

Close #359
2020-07-09 05:15:51 +09:00
Sarisia 31cdbe5222
fix: order of checks in setGithubToken (#382)
- Fixes #358
- Related #359
2020-07-09 04:26:02 +09:00
Shohei Ueda 4d89a385db
chore: change printWidth from 80 to 100 (#362) 2020-06-22 05:40:26 +09:00
Shohei Ueda db3e60d230
feat: Fold logs using core.startGroup() (#277)
cf. https://github.com/actions/toolkit/blob/master/docs/commands.md
2020-05-04 10:23:22 +09:00
Shohei Ueda 0b7411e2cf
feat: Add full_commit_message (#275)
* feat: Add full_commit_message
* ci: Add full_commit_message
* docs: Add full_commit_message

cf. #274
2020-05-04 09:50:38 +09:00
Albert 8019d941f3
feat: Set outputs.skip when action skipped
cf. #165
2020-03-22 16:16:36 +09:00
Shohei Ueda 3f58382eea
chore: Print context for debug (#160)
* chore: Print context for debug
* fix: debug message
2020-03-16 13:56:58 +09:00
Shohei Ueda 6fa13fefb3
fix: skip on fork (#159) 2020-03-16 12:03:08 +09:00
Shohei Ueda d6bd6182f2
fix: skip on fork if pull_request (#158)
cf. #157
2020-03-16 11:48:40 +09:00
Shohei Ueda 4f06df820b
fix: skip deployment on forks (#156)
* fix: skip on forks
* chore(release): 3.5.4-6

Close #153
2020-03-16 09:00:19 +09:00
Shohei Ueda a1ff787715
fix: set commit author as local config (#152)
* fix: set commit author as local config

Close #151

Co-authored-by: Ryo Ota <nwtgck@nwtgck.org>
2020-03-12 22:58:12 +09:00
Shohei Ueda dc1169c5ba
feat: Add enable_jekyll (#143)
Implementation of `enable_jekyll` option which is an alias for `disable_nojekyll`

- Issue #130 
- Pull Request #132
2020-03-07 05:30:51 +09:00
Shohei Ueda fd6e5fc7ce
test: Add testing for set-tokens.ts (#126)
* test: remove main
* test: add getPublishRepo()
* test: Add setPersonalToken()
* test: Add setGithubToken()
* test: add showInputs()
* test: .nojekyll already exists
* test: ignore jest/expect-expect
* refactor: squash inputs log
* fix: throw error message
2020-03-07 00:41:30 +09:00
Shohei Ueda 00fde1eb97
feat: Add disable_nojekyll and cname options (#119)
* feat: Add disable_nojekyll and cname options
* docs: Add cname and disable_nojekyll
* chore: Add vim
* chore(release): 3.3.0-0
* ci: Add codecov/codecov-action
* refactor: Enhance warning message

- Add .nojekyll file by default to only the master and gh-pages branches. When the file already exists, this action does nothing.
- When we set other branches to publish_branch, this action does not add .nojekyll file.

cf. https://github.com/peaceiris/actions-gh-pages/issues/112#issuecomment-589678269

Close #112

Co-authored-by: Daniel Himmelstein <daniel.himmelstein@gmail.com>
Co-authored-by: Nicolas Vanhoren <nicolas.vanhoren@gmail.com>
2020-02-24 18:49:55 +09:00
Shohei Ueda 74f652acfd
feat: Remove warning about GITHUB_TOKEN (#108)
GitHub might have started to supporting to trigger the GitHub Pages build event by GITHUB_TOKEN on public repositories. (We can already use the token on private repositories.) Be careful, there is no official announcement about this by GitHub.

cf. #9
2020-02-19 23:22:07 +09:00
Shohei Ueda 2f5ccc92df
fix: Use onetime workdir name (#109)
* chore: Allow to release from not master

* chore(release): 3.0.4-0
* chore(release): 3.0.4-1
2020-02-19 22:56:40 +09:00
wu-yu-xuan 55a68e34ca
refactor: fix typo and remove useless function (#107) 2020-02-18 14:30:50 +09:00
peaceiris 476fa94197 fix: Change final message 2020-02-08 17:31:09 +09:00
Shohei Ueda 1b6740cb30
fix: Enable to create branch for first deployment (#92)
* fix: Enable to create branch for first deployment
* fix: remove pull_request

* ci: remove lint-staged husky for testing
* ci: Add git checkout {package-lock,package}.json
2020-02-06 15:21:18 +09:00
peaceiris f8b5a36401 fix: add filePath 2020-02-06 01:52:45 +09:00
peaceiris 848165cf9f fix: copy force 2020-02-06 01:50:30 +09:00
peaceiris fb54d6af4d fix: add debug 2020-02-06 01:41:17 +09:00
peaceiris 6edc4c9764 fix: copy directories #89 2020-02-06 01:38:12 +09:00
Shohei Ueda ed21b6a594
feat: Add getHomeDir() for windows (#86) 2020-02-05 20:04:31 +09:00
peaceiris 9f11da81ae refactor: change to core.debug 2020-02-05 18:50:44 +09:00
Shohei Ueda 68b21c12af
feat: Add TypeScript Action (#83)
cf. https://github.com/peaceiris/actions-github-pages
Close #54
2020-02-05 14:34:19 +09:00