From 7eda8036d2d0f51de6eaf438368602dd154e3b3c Mon Sep 17 00:00:00 2001 From: Branimir Georgiev Date: Sat, 25 Apr 2026 16:59:59 +0300 Subject: [PATCH] fix: remove symlink before artifact upload to prevent infinite loop 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) --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7ef4de3..10d22e4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -48,6 +48,9 @@ jobs: args: --root-dir astro-site/dist --config lychee.toml 'astro-site/dist/**/*.html' fail: true + - name: Remove symlink before upload + run: rm astro-site/dist/tutorial-git + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: