Skip to content

Commit

Permalink
Do not store .git folder in the website and stats artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Dec 19, 2023
1 parent 435d565 commit 0a5205c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/stats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: stats
path: _build/stats
path: |
_build/stats
!_build/stats/.git
retention-days: 1

warn:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: website
path: _build/html
path: |
_build/html
!_build/html/.git
retention-days: 1

warn:
Expand Down

0 comments on commit 0a5205c

Please sign in to comment.