Skip to content

Commit 7f418a4

Browse files
committed
chore(ci): remove dead CNAME fallback from publish job
CNAME is now copied into dist/ by the build driver on production builds (see Task 1 of this PR), so the workflow no longer needs to restore it. The fallback was dead anyway — it referenced $../CNAME which does not exist because the publish job doesn't check out the source repo.
1 parent 2c37108 commit 7f418a4

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,6 @@ jobs:
112112
mkdir -p "$(dirname "$rel")"
113113
cp -r ../dist "$rel"
114114
fi
115-
if [ ! -f CNAME ]; then
116-
cp ../CNAME . 2>/dev/null || true
117-
fi
118115
119116
- name: Commit and push gh-pages
120117
working-directory: gh-pages-work

0 commit comments

Comments
 (0)