Update .gitea/workflows/gitops-automatic-deployment.yml
Some checks failed
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Failing after 17s
Some checks failed
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Failing after 17s
This commit is contained in:
@ -17,6 +17,17 @@ jobs:
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y rsync
|
apt-get install -y rsync
|
||||||
|
|
||||||
- name: Rsync to GitOps Folder Target
|
- name: Debug Rsync to GitOps Folder Target
|
||||||
run: |
|
run: |
|
||||||
rsync -av --delete --exclude='.git/' . /Gitops_Destination/
|
echo "PWD:"
|
||||||
|
pwd
|
||||||
|
echo "Contents of current directory:"
|
||||||
|
ls -lah
|
||||||
|
echo "Contents of /Gitops_Destination before rsync:"
|
||||||
|
ls -lah /Gitops_Destination
|
||||||
|
|
||||||
|
echo "Running rsync..."
|
||||||
|
rsync -avvi --delete --exclude='.git/' . /Gitops_Destination/
|
||||||
|
|
||||||
|
echo "Contents of /Gitops_Destination after rsync:"
|
||||||
|
ls -lah /Gitops_Destination
|
||||||
|
Reference in New Issue
Block a user