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:
|
steps:
|
||||||
- name: --- CHECKOUT ---
|
- name: --- CHECKOUT ---
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: ./tmp
|
path: ./tmp
|
||||||
|
sparse-checkout: |
|
||||||
|
/*
|
||||||
|
!.git
|
||||||
|
!.gitea
|
||||||
|
sparse-checkout-cone-mode: false
|
||||||
- name: --- NOTIFY ---
|
- name: --- NOTIFY ---
|
||||||
run: |
|
run: |
|
||||||
curl \
|
curl \
|
||||||
@ -32,4 +37,3 @@ jobs:
|
|||||||
-H "Content-Type: text/plain" \
|
-H "Content-Type: text/plain" \
|
||||||
-d $'Repo: ${{ github.repository }}\nRef: ${{ github.ref }}\nStatus: ${{ job.status}}' \
|
-d $'Repo: ${{ github.repository }}\nRef: ${{ github.ref }}\nStatus: ${{ job.status}}' \
|
||||||
ntfy.sh/schallbert-borgmatic-catzenklebermusoelkanne
|
ntfy.sh/schallbert-borgmatic-catzenklebermusoelkanne
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user