add sparse-checkout to not copy private folder to webserver
This commit is contained in:
parent
0c99843586
commit
2bebc22c65
@ -22,9 +22,14 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: --- CHECKOUT ---
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ./tmp
|
||||
sparse-checkout: |
|
||||
/*
|
||||
!.git
|
||||
!.gitea
|
||||
sparse-checkout-cone-mode: false
|
||||
- name: --- NOTIFY ---
|
||||
run: |
|
||||
curl \
|
||||
@ -32,4 +37,3 @@ jobs:
|
||||
-H "Content-Type: text/plain" \
|
||||
-d $'Repo: ${{ github.repository }}\nRef: ${{ github.ref }}\nStatus: ${{ job.status}}' \
|
||||
ntfy.sh/schallbert-borgmatic-catzenklebermusoelkanne
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user