Skip to content

Commit 754d3c1

Browse files
yiaanyalambclaude
authored
docs: preserve released documentation during deployment (#25880)
- related to #17071 The documentation deploy uses rsync --delete, which would erase manually published versions/ directories. Exclude /versions/ so normal development-site deployments preserve release documentation. This one-line deployment change is intentionally separate from #24792. --------- Co-authored-by: Andrew Lamb <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
1 parent be8afbb commit 754d3c1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.github/workflows/docs.yaml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,12 @@ jobs:
6767
run: |
6868
set -x
6969
cd asf-site/
70+
# don't delete old versions of the docs (see versions/ in asf-site)
7071
rsync \
7172
-a \
7273
--delete \
7374
--exclude '/.git/' \
75+
--exclude '/versions/' \
7476
../docs/build/html/ \
7577
./
7678
cp ../.asf.yaml .

0 commit comments

Comments
 (0)