Skip to content

Commit d13cc1e

Browse files
brabojclaude
andcommitted
fix: ensure content directory exists before assets symlink in CI
After removing astro-site/src/content/docs/ in the single-source migration, the content directory may not exist in a fresh checkout. Create it before symlinking assets. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent cb8dff8 commit d13cc1e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ jobs:
3333
run: npm ci
3434

3535
- name: Create assets symlink
36-
working-directory: astro-site/src/content
37-
run: ln -s ../../../assets assets
36+
run: mkdir -p astro-site/src/content && ln -s ../../../assets astro-site/src/content/assets
3837

3938
- name: Build site
4039
working-directory: astro-site

0 commit comments

Comments
 (0)