Skip to content

Commit 5d412c0

Browse files
committed
Add explanation to deploy workflow
Explain why we need to checkout deploy files from master
1 parent 91bb3a2 commit 5d412c0

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
@@ -39,7 +39,10 @@ jobs:
3939
if: github.ref == 'refs/heads/beta'
4040
run: echo "BETA=true" >> $GITHUB_ENV
4141

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

0 commit comments

Comments
 (0)