Skip to content

Commit 1dc63ff

Browse files
committed
docs test
1 parent 027c2eb commit 1dc63ff

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

.github/workflows/build-docs.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
tags:
55
- '*'
66
workflow_dispatch: {}
7+
permissions:
8+
contents: write
79
jobs:
810
build:
911
name: build-doc
@@ -24,17 +26,11 @@ jobs:
2426
python -m pip install --upgrade pip
2527
curl -sL ${TG_KAPG_DOCS_PBURL} | bash
2628
make
27-
rm -rf \
28-
.github Pyrogram* pyrogram* tests \
29-
.gitignore COPYING* MANIFEST* Makefile NOTICE \
30-
README.md pyproject.toml hatch_build.py setup.py \
31-
venv __pycache__ compiler
32-
mv docs/build/html/* .
33-
rm -rf docs
34-
touch .nojekyll
35-
git checkout --orphan gh-pages
36-
git config user.email "[email protected]"
37-
git config user.name "GitHub Action <Dan>"
38-
git add . -A
39-
git commit -m "DocGen: Update documentation"
40-
git push origin gh-pages --force
29+
30+
- uses: peaceiris/actions-gh-pages@v4
31+
with:
32+
github_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_dir: ./docs/build/html
34+
publish_branch: gh-pages
35+
user_name: 'github-actions[bot]'
36+
user_email: 'github-actions[bot]@users.noreply.github.com'

docs/source/releases/changes-in-this-fork.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ Breaking Changes in this Fork
3030
Changes in this Fork
3131
=====================
3232

33+
+------------------------+
34+
| Scheme layer used: 202 |
35+
+------------------------+
36+
37+
- View `new and changed <https://telegramplayground.github.io/TG-APIs/TL/diff/tdlib.html?from=201&to=202>`__ `raw API methods <https://telegramplayground.github.io/TG-APIs/TL/diff/tdesktop.html?from=200&to=202>`__.
38+
3339
+------------------------+
3440
| Scheme layer used: 201 |
3541
+------------------------+

0 commit comments

Comments
 (0)