-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Build the documents #82
ci: Build the documents #82
Conversation
Prepare to deploy documents automatically with CI. First, we set up CI to build the document.
.github/workflows/publish.yml
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doc.yml
かdocument.yml
かな。
.github/workflows/publish.yml
Outdated
- name: Build documents | ||
run: | | ||
cmake -S groonga -B /tmp/groonga.build --preset=doc | ||
(cd groonga && rake release:document:update BUILD_DIR=/tmp/groonga.build GROONGA_ORG_DIR=../) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(cd groonga && rake release:document:update BUILD_DIR=/tmp/groonga.build GROONGA_ORG_DIR=../) | |
rake -C groonga release:document:update BUILD_DIR=/tmp/groonga.build GROONGA_ORG_DIR=../ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make
なやつだから -C
使えたんか。
.github/workflows/publish.yml
Outdated
on: | ||
push: | ||
branches: | ||
- main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- main | |
- gh-pages |
.github/workflows/document.yml
Outdated
@@ -0,0 +1,34 @@ | |||
name: Publish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: Publish | |
name: Document |
.github/workflows/document.yml
Outdated
build: | ||
name: Build and Publish |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build: | |
name: Build and Publish | |
publish: | |
name: Publish |
.github/workflows/document.yml
Outdated
groonga/setup.sh | ||
pip install -r groonga/doc/requirements.txt | ||
(cd groonga/doc && bundle install) | ||
- name: Build documents |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
英語圏の人たちはdocumentsと言っているような気はするし、groonga.org/docs/だけど、他のところでdocにしちゃったんだよなぁ。どっちに合わせるのがいいかしら。
- name: Build documents | |
- name: Build document |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
省略しないやつはあまり気にしたことがなかったですが、省略形は docs
が多い感じがします。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s付きに寄せていくかー
Prepare to deploy documents automatically with CI.
First, we set up CI to build the document.