This commit is contained in:
Daniil Gentili 2024-05-01 15:21:46 +02:00
parent 9cecd2ca80
commit 3091dff6fa

View File

@ -16,14 +16,12 @@ steps:
- git config --global user.name "Daniil Gentili" - git config --global user.name "Daniil Gentili"
- git remote add o git@github.com:danog/MadelineProtoDocs.git - git remote add o git@github.com:danog/MadelineProtoDocs.git
- cd docs - cd docs
- gojekyll clean
- gojekyll build - gojekyll build
- rm -rf /tmp/_site - rm -rf /tmp/_site
- cp -a _site /tmp/ - cp -a _site /tmp/
- cd .. - cd ..
- git branch -D gh-pages || true - git branch -D gh-pages || true
- git switch --orphan gh-pages - git switch --orphan gh-pages
- git checkout gh-pages
- cp -a /tmp/_site/* . - cp -a /tmp/_site/* .
- git add -A - git add -A
- git commit -am 'Update' - git commit -am 'Update'