You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs-src/src/github-pages.md
+54-18
Original file line number
Diff line number
Diff line change
@@ -5,20 +5,56 @@ layout: content-with-menu.pug
5
5
6
6
# Deploying on GitHub Pages
7
7
8
-
GitHub offers free hosting for static websites through its [GitHub Pages][1] feature.
9
-
It also has builtin support for Jekyll website. Once [properly configured][2],
10
-
every time you push your Jekyll website to GitHub, it will be deployed on
11
-
a `username.github.io/reponame` url.
8
+
GitHub offers free hosting for static websites through its [GitHub Pages][1] feature. It also has builtin support for Jekyll website. Once [properly configured][2], every time you push your Jekyll website to GitHub, it will be deployed on a `username.github.io/reponame` url.
12
9
13
-
But GitHub will only build your website (`jekyll build`), it will not run other
14
-
commands (like `jekyll algolia`), so if you want to update your search results on
15
-
each push, you'll have to find another way.
10
+
But GitHub will only build your website (`jekyll build`), it will not run other commands (like `jekyll algolia`), so if you want to update your search results on each push, you'll have to find another way. This can be done using GitHub Actions, or via a Continuous Integration provider like Travis CI.
16
11
17
-
We recommend using [Netlify][3], but if you want to stay hosted on GitHub pages,
18
-
this page will explain how to keep your search records in sync with your
19
-
deployed website.
12
+
We recommend using [Netlify][3] to host the whole pipeline, but if you want to stay hosted on GitHub pages, this page will explain how to keep your search records in sync with your deployed website.
20
13
21
-
## Enabling Travis
14
+
## Using GitHub Actions
15
+
16
+
First enable [GitHub Actions][6] on your account, and then create this new action under for example `.github/workflows/algolia-search.yml`.
0 commit comments