Create a new repository by referring to github pages.
Example: This time kentaro0919.github.io
$git clone repository
Example git clone https://github.com/kentaro0919/kentaro0919.github.io
Copy the repository locally with
First, specify the destination to build the page in the new repository.
$ lektor build --output-path path/kentaro0919.github.io
Started build
U index.html
U about/index.html
U projects/index.html
U blog/index.html
U static/style.css
U blog/first-post/index.html
Finished build in 0.08 sec
Started prune
Finished prune in 0.01 sec
Move to repository
$ cd path/kentaro0919.github.io
Confirm that it has been created
$ ls
about blog index.html projects static
Add to repository
$ git add .
commit
$ git commit -m "first commit"
push to github
$ git push
I was able to publish with just this
It seems that it can be published from the inside, so next time it will be updated from the inside
Recommended Posts