|
4 роки тому | |
---|---|---|
.. | ||
.drone.yml | 4 роки тому | |
README.md | 4 роки тому |
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 urlbranch
- 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.