Commit Graph

21 Commits

Author SHA1 Message Date
Khaled Hosny efab763885 [ci] Fix docs deployment
Trigger build on tag pushes, and simplify the condition for calling
.ci/deploy-docs.sh.
2022-07-23 20:27:59 +02:00
Khaled Hosny 378663409a [ci] Deploy docs only on tagged builds
Fixes https://github.com/harfbuzz/harfbuzz/issues/2786
2022-07-18 14:14:10 -06:00
Khaled Hosny 09a2eb65d7 Revert "Temporarily always push the docs commit"
This reverts commit 6612fd39ae.
2021-06-07 10:52:27 +02:00
Khaled Hosny 6612fd39ae Temporarily always push the docs commit 2021-06-07 10:36:29 +02:00
Khaled Hosny b39b047505 Try to fix doc deployment
https://github.com/harfbuzz/harfbuzz.github.io/issues/4

From CI logs at https://github.com/harfbuzz/harfbuzz/runs/2758234200:

+ git init
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>

We want the branch too be main not master.
2021-06-07 10:29:04 +02:00
Khaled Hosny fa432a121e Rename various references to master branch 2021-06-05 04:18:52 +02:00
Ebrahim Byagowi 6bf5e8e7e6
[ci] Deploy only when there is something to push
Apparently the previous version of gtk-doc was doing weird changes like 1b40da99bb and d1d9bff14c
in order to make every to have something for pushing and
now that we don't have such changes it will fail.

Alternatively we can go for `git commit --allow-empty`, guess better to
pollute history of https://github.com/harfbuzz/harfbuzz.github.io however.
2020-06-04 04:03:14 +04:30
Ebrahim Byagowi 5293fdba23
[ci] Move docs deployment from autotools to meson 2020-06-04 02:38:27 +04:30
Khaled Hosny 3ce6c7bd96 [ci] Sort out Travis configuration
Use a matrix to avoid a gazillion if's.
2017-12-07 01:03:20 +02:00
Khaled Hosny 77efdecadd Improve the docs commit message a bit 2017-11-22 00:14:29 +02:00
Ebrahim Byagowi a13c0748c5 Move gh-pages docs to harfbuzz.github.io 2017-11-21 13:53:35 -08:00
ebraminio d18ee5afe8
Copy dummy docs/circle.yml to gh-pages branch (#603) 2017-11-02 07:56:25 -07:00
Behdad Esfahbod 266bfa3772 [docs] Minor 2015-12-30 16:25:48 +01:00
Behdad Esfahbod d08035f8f1 [docs] Fix up build, really 2015-12-30 16:15:36 +01:00
Behdad Esfahbod 0d45c3cf63 [docs] Turn bash tracing on 2015-12-30 16:09:39 +01:00
Behdad Esfahbod 33b2d981a0 [docs] Another try, not sure why the bot isn't building 2015-12-30 15:56:56 +01:00
Behdad Esfahbod f3a051149b [docs] Shuffling code around in deploy-docs.sh
Temporarily makes it rebuild docs on every change again.
2015-12-30 15:45:43 +01:00
Khaled Hosny 9d280cf49f Fix previous commit 2015-12-26 06:45:51 +04:00
Khaled Hosny b789199f10 [travis] Build docs only on tagged revisions
Lets see if it works…
2015-12-26 06:35:08 +04:00
Behdad Esfahbod e5b90c08a4 [travis] Remove secure var
I've set up a secure var for behdad/harfbuzz through Travis web interface, no need
to set the var here.
2015-12-25 18:41:41 +01:00
Khaled Hosny 22b07782ce Deploy docs to gh-pages branch from Travis builds
Build docs in Travis and push them to the gh-pages branch, which makes
them available at http://behdad.github.io/harfbuzz/
2015-12-24 01:52:17 +04:00