File tree 4 files changed +4
-9
lines changed
4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ bundle install --path ./bundle --binstubs
18
18
export LANG=" en_US.UTF-8"
19
19
20
20
echo " ---> Building webpage from source ..."
21
- build_docs
21
+ exec $HOME / build_docs
22
22
23
23
# Fix source directory permissions
24
24
echo " ---> Fixing permissions ..."
Original file line number Diff line number Diff line change @@ -120,14 +120,11 @@ AddType text/vtt vtt
120
120
Order Allow,Deny
121
121
Allow from All
122
122
123
- DirectoryIndex welcome.html
124
-
125
123
RewriteEngine On
126
124
RewriteBase /
127
125
128
126
# Rules have NE added to the end in order to preserve either explicit or implicit # anchor tags
129
- # Not working for some reason
130
- # RewriteRule ^/$ /welcome.html [R=301]
127
+ RewriteRule ^$ /welcome.html [R=301,NE]
131
128
132
129
</Directory>
133
130
</IfModule>
Original file line number Diff line number Diff line change 1
1
source 'https://rubygems.org'
2
2
3
- gem 'asciidoctor' , '~>1.5.6.2'
3
+ gem 'asciidoctor'
Original file line number Diff line number Diff line change @@ -137,10 +137,8 @@ objects:
137
137
kind : " ImageStreamTag"
138
138
name : " stg1-${NAME}:latest"
139
139
paths :
140
- - sourcePath : " /opt/app-root/src/welcome.html "
140
+ - sourcePath : " /opt/app-root/src/dist/. "
141
141
destinationDir : " ."
142
- - sourcePath : " /opt/app-root/src/images/."
143
- destinationDir : " images/."
144
142
- sourcePath : " /opt/app-root/src/.s2i/httpd-cfg/."
145
143
destinationDir : " httpd-cfg/."
146
144
strategy :
You can’t perform that action at this time.
0 commit comments