Skip to content

Commit b0daef9

Browse files
Copilotm-aciek
andauthored
Move git pull --rebase before copying artifacts in publish job
Agent-Logs-Url: https://github.com/m-aciek/python-docs-offline/sessions/120a6d47-878f-4829-acb8-f27b85ecbfc2 Co-authored-by: m-aciek <9288014+m-aciek@users.noreply.github.com>
1 parent cc62d9e commit b0daef9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ jobs:
193193
with:
194194
ref: gh-pages
195195
path: gh-pages
196+
- name: Pull latest gh-pages
197+
run: git -C gh-pages pull --rebase origin gh-pages
196198
- name: Download all artifacts
197199
uses: actions/download-artifact@master
198200
with:
@@ -214,8 +216,6 @@ jobs:
214216
cp artifacts/python-${{ inputs.dist_version }}-docs-texinfo.tar.bz2/* gh-pages/3/ 2>/dev/null || true
215217
# EPUB
216218
cp artifacts/python-${{ inputs.dist_version }}-docs.epub/* gh-pages/3/ 2>/dev/null || true
217-
- name: Pull latest gh-pages
218-
run: git -C gh-pages pull --rebase origin gh-pages
219219
- name: Commit generated archives
220220
id: commit
221221
run: |

0 commit comments

Comments
 (0)