Skip to content

Commit 90ebcdd

Browse files
committed
Add explanation to deploy workflow
Explain why we need to checkout deploy files from master
1 parent b5095a3 commit 90ebcdd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ jobs:
4040
if: github.ref == 'refs/heads/beta'
4141
run: echo "BETA=true" >> $GITHUB_ENV
4242

43-
- name: Use deploy script from master branch
43+
# We need to check out all files that (transitively) depend on the
44+
# structure of the gh-pages branch, so that we're able to change that
45+
# structure without breaking the deployment.
46+
- name: Use deploy files from master branch
4447
run: |
4548
git fetch --no-tags --prune --depth=1 origin master
4649
git checkout origin/master -- util/versions.py util/gh-pages/versions.html

0 commit comments

Comments
 (0)