File tree 4 files changed +16
-150
lines changed
4 files changed +16
-150
lines changed Original file line number Diff line number Diff line change 20
20
args : git submodule update --remote --merge
21
21
22
22
- name : Build
23
- run : docker run --rm --volume $PWD:/src -w "/src" bwklein/hugo-asciidoctor hugo --minify -v
23
+ run : bash build.sh
24
24
25
25
- name : Deploy
26
26
uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change
1
+ # Hugo
2
+ public /
3
+ resources /
4
+ node_modules /
5
+ tech-doc-hugo
6
+ static /
7
+
8
+ # Asciidoctor
1
9
.asciidoctor /
2
-
3
- # -*- mode: gitignore; -*-
4
- * ~
5
- \# * \#
6
- /.emacs.desktop
7
- /.emacs.desktop.lock
8
- * .elc
9
- auto-save-list
10
- tramp
11
- . \# *
12
-
13
- # Org-mode
14
- .org-id-locations
15
- * _archive
16
-
17
- # flymake-mode
18
- * _flymake. *
19
-
20
- # eshell files
21
- /eshell /history
22
- /eshell /lastdir
23
-
24
- # elpa packages
25
- /elpa /
26
-
27
- # reftex files
28
- * .rel
29
-
30
- # AUCTeX auto folder
31
- /auto /
32
-
33
- # cask packages
34
- .cask /
35
- dist /
36
-
37
- # Flycheck
38
- flycheck_ * .el
39
-
40
- # server auth directory
41
- /server /
42
-
43
- # projectiles files
44
- .projectile
45
-
46
- # directory configuration
47
- .dir-locals.el
48
-
49
- # network security
50
- /network-security.data
51
-
52
- # Compiled source #
53
- # ##################
54
- * .com
55
- * .class
56
- * .dll
57
- * .exe
58
- * .o
59
- * .so
60
-
61
- # Packages #
62
- # ###########
63
- # it's better to unpack these files and commit the raw source
64
- # git has its own built in compression methods
65
- * .7z
66
- * .dmg
67
- * .gz
68
- * .iso
69
- * .jar
70
- * .rar
71
- * .tar
72
- * .zip
73
-
74
- # Logs and databases #
75
- # #####################
76
- * .log
77
- * .sql
78
- * .sqlite *
79
-
80
- # OS generated files #
81
- # #####################
82
- .DS_Store
83
- .DS_Store ?
84
- ._ *
85
- .Spotlight-V100
86
- .Trashes
87
- ehthumbs.db
88
- Thumbs.db
89
- * .swp
90
-
91
- # ## Ruby ###
92
- * .gem
93
- * .rbc
94
- /.config
95
- /coverage /
96
- /InstalledFiles
97
- /pkg /
98
- /spec /reports /
99
- /spec /examples.txt
100
- /test /tmp /
101
- /test /version_tmp /
102
- /tmp /
103
-
104
- # Used by dotenv library to load environment variables.
105
- # .env
106
-
107
- # Ignore Byebug command history file.
108
- .byebug_history
109
-
110
- # # Specific to RubyMotion:
111
- .dat *
112
- .repl_history
113
- build /
114
- * .bridgesupport
115
- build-iPhoneOS /
116
- build-iPhoneSimulator /
117
-
118
- # # Specific to RubyMotion (use of CocoaPods):
119
- #
120
- # We recommend against adding the Pods directory to your .gitignore. However
121
- # you should judge for yourself, the pros and cons are mentioned at:
122
- # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
123
- # vendor/Pods/
124
-
125
- # # Documentation cache and generated files:
126
- /.yardoc /
127
- /_yardoc /
128
- /doc /
129
- /rdoc /
130
-
131
- # # Environment normalization:
132
- /.bundle /
133
- /vendor /bundle
134
- /lib /bundler /man /
135
-
136
- # for a library or gem, you might want to ignore these files since the code is
137
- # intended to run in multiple environments; otherwise, check them in:
138
- # Gemfile.lock
139
- # .ruby-version
140
- # .ruby-gemset
141
-
142
- # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
143
- .rvmrc
144
-
145
- # ## Ruby Patch ###
146
- # Used by RuboCop. Remote config files pulled in from inherit_from directive.
147
- # .rubocop-https?--*
Original file line number Diff line number Diff line change 1
- #! /usr/bin/env sh
1
+ #! /usr/bin/env bash
2
2
3
- # export PATH="$PWD/bin:$PATH"
4
- hugo --minify -v
3
+ if [ ! -r ./public ]; then
4
+ docker run --rm --volume $PWD :/src -w " /src" capsulecorplab/hugo-asciidoctor-plantuml:0.76.5-alpine ' hugo --minify -v --destination public'
5
+ fi
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ docker run --rm --volume $PWD :/src -p 1313:1313 -w " /src" capsulecorplab/hugo-asciidoctor-plantuml:0.76.5-alpine ' hugo serve --bind=0.0.0.0 --buildDrafts --disableFastRender --destination public'
You can’t perform that action at this time.
0 commit comments