Commit Graph

65 Commits

Author SHA1 Message Date
Cotes Chung 7b43a83c40
refactor: move project files to `docs` folder 2023-08-19 12:55:24 +08:00
Anan e4e76f0a11
chore(deps): upgrade `actions/deploy-pages` to version `2.x` (#1121) 2023-07-02 20:25:53 +08:00
Cotes Chung b0f4ae5eec
chore(gh-actions): fix stale bot exempt condition 2023-06-28 20:16:20 +08:00
Cotes Chung fa3257873e
build: replace the stale app with gh-actions
The stale app is deprecated and  no longer maintained
2023-06-08 00:46:37 +08:00
Cotes Chung ea6268d7a5
chore(ci): upgrade commit-lint actions 2023-05-13 07:03:16 +08:00
Cotes Chung 3c7934abf0
style: improve code style of SCSS & YAML 2023-03-16 03:36:52 +08:00
Josh Johanning 474b4ba681
chore: update configure-pages action (#931) 2023-03-15 22:31:43 +08:00
Cotes Chung 60229ae334
chore(ci,tools): adapt to changes in JS builds 2023-03-15 21:51:37 +08:00
Cotes Chung d0cf2a8dd5
chore(codeql): improve triggering conditions 2023-02-15 05:19:27 +08:00
Cotes Chung a2d01365de
chore(github): simplify the creation steps of issue/pr 2023-02-12 06:57:26 +08:00
Cotes Chung ecff5630a6
chore(security): scan for vulnerabilities 2023-02-12 06:57:26 +08:00
Cotes Chung 269506b647
chore(deps): liquid(v4.0.4) is compatible with ruby 3.2 (#854)
See: https://github.com/jekyll/jekyll/issues/9231
2023-01-18 23:13:06 +08:00
Cotes Chung 5a191e79af
chore: remove extension from tools 2022-12-28 01:10:27 +08:00
Cotes Chung 72700be7dd
chore(ci): fix workflow trigger conditions 2022-12-27 23:58:17 +08:00
Cotes Chung 09e4ad245b
chore(deps): update gem spec list
- Jekyll 4.3.0 introduced `webrick` for Ruby 3.x
- Jekyll's dependency `nokogiri` does not yet support Ruby 3.2. See: https://github.com/sparklemotion/nokogiri/issues/2740/
2022-12-27 21:47:09 +08:00
Cotes Chung 8e73a91d25
test(ci): drop some old ruby ​​versions 2022-12-25 00:10:15 +08:00
Cotes Chung 8f2b42b1b3
test(ci): correct the patterns to match the SCSS files 2022-12-25 00:00:54 +08:00
Cotes Chung 5fc428353c
build(cd): migrate CD to GitHub 2022-12-05 00:51:38 +08:00
Cotes Chung 9de95bf089
build: reduce unnecessary builds 2022-12-05 00:41:13 +08:00
Cotes Chung 1c330f403c
chore(gh-actions): add style-lint on CI 2022-10-22 03:26:22 +08:00
Petr Ruzicka d9d7848f03
style(linter): fix linter issues 2022-10-15 21:23:21 +08:00
Cotes Chung 8bcdd87891
chore(docs, cd): correct workflow name in tutorial 2022-09-25 01:58:54 +08:00
Galen Rice 43323abdfe
chore(ci, cd): build and deploy via _gh-actions_ directly
New actions available in GitHub allow for building and deploying the site
completely from the actions workflow with minimal code.
The deploy.sh script is no longer necessary with these changes.
2022-09-07 22:53:11 +08:00
Cotes Chung f0a2e2f4e1
chore(gh-actions): resume the trigger branch 2022-03-12 22:29:15 +08:00
Cotes Chung 00ad357033
ci: update matrix environment 2022-03-04 23:58:13 +08:00
Cotes Chung dd264e793c
ci(gh-actions): add `commitlint` for PR 2022-03-01 23:26:07 +08:00
Cotes Chung 51688ccc9f Correct the branches that triggers `gh-action` 2022-02-04 06:47:03 +08:00
Cotes Chung b27258899b Clear references to deleted folder `docs` 2022-02-04 06:23:09 +08:00
Cotes Chung b460d03c3b Merge the test tool into the deploy tool 2021-09-29 22:18:38 +08:00
Cotes Chung 20f2ff4b23 Update bot's reply message 2021-07-20 02:51:46 +08:00
Cotes Chung 899609a291 Switch to another issue bot 2021-07-20 02:26:03 +08:00
Cotes Chung d5e08b05ab Remove PR filter from workflow
GitHub does not allow to run workflows on PR from first-time contributors.
see: <https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks>
2021-05-19 13:50:19 +08:00
Cotes Chung 4973a61e39 Update ruby setup actions (fix #306)
No longer tracking Gemfile.lock
2021-04-01 04:17:18 +08:00
Cotes Chung 6688e27787 Improve the pattern of issue bot 2021-03-04 21:52:19 +08:00
Cotes Chung 3400568b09 Change the bundle cache path on gh-actions
ubuntu-latest changed from 18.04 TLS to 20.04 LTS causes a file path change to the `ffi` gem, invalidating the gh-actions cache file, and causes the build to fail.

See: <https://github.com/ffi/ffi/issues/769>
2021-03-04 15:02:06 +08:00
Cotes Chung 82b3d061af Update the condition of issues intercept 2021-02-22 15:59:08 +08:00
Cotes Chung da976ce088 Allow the PRs from dependabot 2021-01-17 22:23:34 +08:00
Henk van Achterberg ca2194770c Update pages-deploy.yml.hook (#229)
This change will make the baseurl configuration/testing work. Previous version failed. Posts should have /index.html as suffix in my experience.
2020-12-30 22:22:42 +08:00
Cotes Chung 813443b206 Improve GitHub stuff
- Add more events to the issue interceptor
- Reduce issue label
2020-12-28 02:33:06 +08:00
Cotes Chung 8d4c555638 Fix gh-actions cache not being hit issue (#191) 2020-12-07 00:10:15 +08:00
Cotes Chung 36c4f32b17 Fix yaml syntax of workflow 2020-12-02 18:40:06 +08:00
Cotes Chung 6a326dc8e0 Improve the interceptor action
Avoid secondary runs
2020-11-30 22:04:52 +08:00
Cotes Chung f2efae8b01 Improve the issue/pr interceptor 2020-11-28 21:48:59 +08:00
Cotes Chung b985965bc9 Fix bundle-install failed on gh-actions.
`--local` option of bundle-install:
  if an appropriate platform-specific gem exists on rubygems.org it will not be found.

see: <https://bundler.io/v2.1/man/bundle-install.1.html>
2020-11-23 02:03:15 +08:00
Cotes Chung 08354cc4f5 Fix the test tool and CD hook 2020-11-20 15:59:35 +08:00
Cotes Chung 8fa1f3b497 Clean up the discarded shell scripts 2020-11-19 21:47:46 +08:00
Cotes Chung aac29d43e5 Auto close the irregular issues
also fix the token key of issue-cleaner
2020-11-17 17:29:58 +08:00
Cotes Chung d314c02a13 Drop the deprecating command `set-env` in actions workflow.
replace with environment files
2020-10-08 02:42:57 +08:00
Cotes Chung 67d962d707 Fix the bundle cache path for CD hook. 2020-10-03 16:45:17 +08:00
Cotes Chung 2cf5a58adf Install `yq` by APT on ubuntu of gh-actions.
`brew intall` on Ubuntu is too slow (about 1 min)
2020-09-17 13:54:12 +08:00