forked from vishvAsa/notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
47 lines (47 loc) · 1.32 KB
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
box: debian
build:
steps:
- install-packages:
packages: git ssh-client
- add-ssh-key:
keyname: github_key
host: github.com
- add-to-known_hosts:
hostname: github.com
fingerprint: nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8
type: rsa
- script:
name: initialize git submodules
code: |
git submodule update --init --recursive
- script:
name: update themes
code: |
git submodule foreach "(git checkout master; git pull)&"
- arjen/hugo-build:
version: "0.53"
theme: "sanskrit-documentation-theme-hugo"
flags: --buildDrafts=true
- arjen/hugo-build:
version: "0.53"
theme: "sanskrit-documentation-theme-hugo"
flags: --buildDrafts=true
config: config_offline_android.toml
# - lordlothar99/git-push:
# The push below fails for unknown reasons.
# host: github.com
deploy:
steps:
- install-packages:
packages: git ssh-client
- add-ssh-key:
keyname: github_key
host: github.com
- sf-zhou/gh-pages@0.2.6:
token: $GIT_TOKEN
basedir: build_github
branch: gh-pages
- sf-zhou/gh-pages@0.2.6:
token: $GIT_TOKEN
basedir: build_offline_android
branch: offline_android