|
3 роки тому | |
---|---|---|
.. | ||
.drone.yml | 3 роки тому | |
README.md | 3 роки тому |
Create your Jekyll site on a directory, such as src
.
mkdir src
cd src
bundle init
echo 'gem "jekyll"' >> Gemfile
bundle
echo '<h1>Jekyll test page</h1>' > index.html
Put a .gitignore on repo root:
output/
src/_site/
src/.sass-cache/
src/.jekyll-cache/
src/.jekyll-metadata
Put the .drone.yml
from this directory to the repo root directory on your pages repo. 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. Then commit the changes to see it built.