From 0ed81477e31d8e89e6c0f0785a9f3736086dee69 Mon Sep 17 00:00:00 2001 From: Zuoling Rong Date: Mon, 3 Feb 2025 00:40:43 +0800 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4552e1e..f3e84d5 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -38,6 +38,15 @@ jobs: - name: Generate site run: npm run generate + - name: Copy favicon + run: | + if [ -f favicon.ico ]; then + cp favicon.ico ./favicon.ico + echo "Favicon copied successfully" + else + echo "Warning: favicon.ico not found" + fi + - name: Setup Pages uses: actions/configure-pages@v4