File tree Expand file tree Collapse file tree 2 files changed +31
-39
lines changed Expand file tree Collapse file tree 2 files changed +31
-39
lines changed Original file line number Diff line number Diff line change 66 - master
77
88jobs :
9+ update-cli-screenshots :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+ with :
14+ token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
15+ fetch-depth : 0
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
18+ with :
19+ python-version : " 3.x"
20+ - name : Install dependencies
21+ run : |
22+ python -m pip install -U pip poetry
23+ poetry --version
24+ poetry install
25+ - name : Update CLI screenshots
26+ run : |
27+ poetry run python scripts/gen_cli_help_screenshots.py
28+ - name : Commit and push updated CLI screenshots
29+ run : |
30+ git config --global user.name "github-actions[bot]"
31+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
32+ git add docs/images/cli_help
33+ git commit -m "docs(cli/screenshots) update CLI screenshots" -m "[skip ci]"
34+ git push
35+
936 publish-documentation :
1037 runs-on : ubuntu-latest
38+ needs : update-cli-screenshots
1139 steps :
1240 - uses : actions/checkout@v4
1341 with :
1442 token : " ${{ secrets.PERSONAL_ACCESS_TOKEN }}"
1543 fetch-depth : 0
44+ - name : Pull latest changes
45+ run : |
46+ git pull origin master
1647 - name : Set up Python
1748 uses : actions/setup-python@v5
1849 with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments