Skip to content

Commit 9b69d6d

Browse files
brabojclaude
andauthored
fix: remove symlink before artifact upload to prevent infinite loop (#138)
The dist/tutorial-git symlink causes upload-pages-artifact to recurse infinitely. Remove it after lychee finishes. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e2c9adc commit 9b69d6d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ jobs:
4848
args: --root-dir astro-site/dist --config lychee.toml 'astro-site/dist/**/*.html'
4949
fail: true
5050

51+
- name: Remove symlink before upload
52+
run: rm astro-site/dist/tutorial-git
53+
5154
- name: Upload artifact
5255
uses: actions/upload-pages-artifact@v3
5356
with:

0 commit comments

Comments
 (0)