Skip to content

Commit

Permalink
Exclude .git folder from uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
apostolisms committed Aug 1, 2024
1 parent 430922f commit 93c337d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: php-app
path: .
path: |
.
!./**/.git/*
!./.git/*

deploy:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: php-app
path: .
path: |
.
!./**/.git/*
!./.git/*

deploy:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: php-app
path: .
path: |
.
!./**/.git/*
!./.git/*

deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 93c337d

Please sign in to comment.