adnan360 80f74d18f4 Add hexo codeberg site source repo 4 роки тому
..
.drone.yml 73d3e361f4 Add example Drone CI yamls for Codeberg 4 роки тому
README.md 80f74d18f4 Add hexo codeberg site source repo 4 роки тому

README.md

Drone CI config for building Hexo sites with Codeberg.org

Create your Hexo site on a directory, such as src.

hexo init src
cd src
npm install

Edit _config.yml. Change public_dir: public to public_dir: ../

Put the .drone.yml on the repo root directory. Change:

  • remote - paste in your repo's ssh url
  • branch - the branch you want to push the results (usually main or master)
  • author_name - commit author (appears on commit info nothing else)
  • author_email - commit author email (appears on commit info nothing else)

Check ../codeberg-push/README.md for details on how to setup ssh keys and stuff.

Demo

https://hexo-test.codeberg.page/ - source repo