Merge pull request 'add sparse-checkout to not copy private folder to webserver' (#11) from deploy-fix into main
All checks were successful
Deploy Lecture site / build (push) Successful in 3s
All checks were successful
Deploy Lecture site / build (push) Successful in 3s
Reviewed-on: #11
This commit is contained in:
commit
53b44069a6
@ -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