Skip to content

Commit aa7faa2

Browse files
committed
Remove debug cmd and add comments
1 parent 9feba16 commit aa7faa2

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/sync.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ jobs:
124124
contents: write
125125
steps:
126126

127+
# 1- Set up environment
128+
127129
- name: Check out this repository
128130
uses: actions/checkout@v6
129131

@@ -140,6 +142,8 @@ jobs:
140142
cache: 'pip'
141143
pip-install: -r requirements.txt
142144

145+
# 2- Remove PO files and the download files (excluding obsolete)
146+
143147
- name: Clean PO files
144148
run: find ${{ env.PYDOC_LANG_DIR }} -name '*.po' | xargs -r rm
145149

@@ -148,15 +152,13 @@ jobs:
148152
with:
149153
name: python-${{ env.PYDOC_VERSION }}
150154

155+
# 3- Commit and push changed files depending on the event name
156+
151157
- name: Commit
152158
run: ./scripts/commit.sh
153159
env:
154160
PYDOC_LANG_DIR: ${{ env.PYDOC_LANG_DIR }}
155161

156-
- run: |
157-
sudo apt-get install -y tree
158-
tree
159-
160162
- name: Push
161163
if: ${{ contains(fromJSON('["schedule", "workflow_dispatch"]'), github.event_name) }}
162164
run: |

0 commit comments

Comments
 (0)