Migrate from Travis CI to Github Action
Two months ago, I configured Travis CI to automatically deploy my blog in
Travis CI Hexo Automatically Deploy.
However, I found it do not work this month. Unfortunately, Travis do not support free build for public repos now. I have to migrate to Github Action in order to auto CD.
I followed this post to do that. Some changes should be applied in deploy.yml
file, especially theme.
For example, my Chinese blog deploy.yml
and my English blog deploy.yml
.
Close auto build in Travis CI Dashboard: Your repos -> Setting -> General -> uncheck Build pushed branches and Build pushed pull requests.