mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-22 08:04:07 +08:00
fix docs page directory structure
This commit is contained in:
@@ -54,14 +54,16 @@ jobs:
|
||||
bundle install && \
|
||||
JEKYLL_ENV=production bundle exec jekyll build
|
||||
"
|
||||
mv docs/_site _site
|
||||
rm -rdf docs
|
||||
mv _site docs
|
||||
touch docs/.nojekyll
|
||||
|
||||
- name: Push to documentation branch
|
||||
run: |
|
||||
git config user.name "${GITHUB_ACTOR}"
|
||||
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
|
||||
git add -f docs/_site
|
||||
git add -f docs/.nojekyll
|
||||
git add -f docs
|
||||
git commit -m "jekyll build from Action ${GITHUB_SHA}"
|
||||
git push --force origin HEAD:${REMOTE_BRANCH}
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user