add sparse-checkout to not copy private folder to webserver #11

Merged
schallbert merged 1 commits from deploy-fix into main 2024-12-24 10:39:09 +00:00

View File

@ -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