chore: CI

This commit is contained in:
David Lapshin 2023-07-09 18:37:48 +03:00
parent 9de3baa4c2
commit e1e0d5ae45
Signed by: daudix
GPG key ID: 93ECF15D3053D81C

View file

@ -33,12 +33,12 @@ steps:
- git config --global user.name "CI Builder"
- git config --global init.defaultBranch pages
# clone and move the target repo
- git clone -b pages git@codeberg.org/daudix-UFO/blog.git
- git clone -b pages https://codeberg.org/daudix-UFO/blog.git
- mv blog _site
- chmod -R a+w _site
- cd _site
# Prepare for push
- git remote set-url origin git@$CBTOKEN@codeberg.org/daudix-UFO/blog.git
- git remote set-url origin https://$CBTOKEN@codeberg.org/daudix-UFO/blog.git
- cd ..
# Run Jekyll build stage
- bundle install