File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 : |
You can’t perform that action at this time.
0 commit comments