Normal-OJ / new-front-end

v2 client for Normal Online Judge
https://noj.tw
Mozilla Public License 2.0
0 stars 7 forks source link

Deploy only if e2e test passed on main #128

Open Bogay opened 1 year ago

Bogay commented 1 year ago

@uier FYI

https://blog.cloudflare.com/introducing-deploy-hooks-for-cloudflare-pages/

Bogay commented 1 year ago

BTW, deploy hooks allow us to deploy new pages only when the source code changes; some changes that only affect the documentation (e.g. README.md) don't need to build a new version.

uier commented 1 year ago

現在 PR 跑的測試應該要是該 branch 起的 webServer,只有合到 main 的時候才需要跑 noj.tw?

uier commented 1 year ago

UPDATE: the expected changes are that cloudflare deployment should launch after CI passed