Update Jenkinsfile

This commit is contained in:
Andrea Cavalli 2020-10-30 14:10:06 +01:00
parent ad72319651
commit dfd51a2a52

2
Jenkinsfile vendored
View File

@ -103,7 +103,7 @@ pipeline {
} }
sh "\ sh "\
cd tdlight/target-release/apidocs; \ cd tdlight/target-release/apidocs; \
find . -name '*.html' -exec sed -i -r 's/<head>/<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">/' {} \\; \ find . -name '*.html' -exec sed -i -r 's/<head>/<head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><style>#memberSummary_tabpanel \{overflow-x: auto;\}\n#search \{width: 400px;max-width: 65vw;\}</style>/' {} \\; \
git init; \ git init; \
git remote add origin https://${USER}:${encodedPass}@git.ignuranza.net/tdlight-team/tdlight-docs; \ git remote add origin https://${USER}:${encodedPass}@git.ignuranza.net/tdlight-team/tdlight-docs; \
git config user.email \"andrea@warp.ovh\"; \ git config user.email \"andrea@warp.ovh\"; \