From 6f17a758de7f203e4b43ab52ffb2a9b1b38c7c59 Mon Sep 17 00:00:00 2001 From: Francesco Ballarin Date: Tue, 19 Dec 2023 15:09:22 +0100 Subject: [PATCH] Do not store .git folder in the website artifact --- .github/workflows/website.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 38cf069e..690c238f 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -176,7 +176,9 @@ jobs: uses: actions/upload-artifact@v3 with: name: website - path: _build/html + path: | + _build/html + !_build/html/.git retention-days: 1 warn: