Update tdapi.yaml and deploy-javadoc.sh
This commit is contained in:
parent
1e20fda3b1
commit
52a1c4f275
6
.github/workflows/tdapi.yaml
vendored
6
.github/workflows/tdapi.yaml
vendored
@ -21,6 +21,12 @@ jobs:
|
||||
(apt-get update || true) 2>/dev/null
|
||||
(apt-get install -y sudo || true) 2>/dev/null
|
||||
sudo apt update
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.IG_SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.IG_KNOWN_HOSTS }}
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
@ -4,7 +4,7 @@ set -e
|
||||
cd ./generated/target/apidocs
|
||||
find . -name '*.html' -exec sed -i -r 's/<\/title>/<\/title>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"><style>\n\t#memberSummary_tabpanel{overflow-x: auto;}\n\tli.blockList{overflow-x: auto;}\n\ttd.colLast div{max-width:30vw;}\n\t#search{width: 400px;max-width: 65vw;}\n\t.title,.subTitle,pre,.inheritance,h1,h2,h3,h4,h5,.memberSummary,.memberSignature,.typeSummary,.blockList,.contentContainer{white-space:normal;word-break:break-word;}\n\tul{padding-left:10px}\n<\/style>/' {} \;
|
||||
git init "--initial-branch=${IMPLEMENTATION_NAME}"
|
||||
git remote add origin "https://${GIT_IG_USERNAME}:${GIT_IG_TOKEN}@git.ignuranza.net/tdlight-team/tdlight-docs"
|
||||
git remote add origin "ssh://git@git.ignuranza.net/tdlight-team/tdlight-docs"
|
||||
git config user.email "andrea@warp.ovh"
|
||||
git config user.name "Andrea Cavalli"
|
||||
git add -A
|
||||
|
Loading…
Reference in New Issue
Block a user