Files
Test/.gitea/workflows/sync-source.yaml
T
lamtruong28 7f8823fe2a
Sync Source new / sync (push) Successful in 32s
Test
2026-08-08 16:11:50 +07:00

32 lines
538 B
YAML

name: Sync Source new
on:
push:
branches:
- main
- develop
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Debug
run: |
pwd
ls -la /
ls -la /data || true
- name: Install rsync
run: |
apt-get update
apt-get install -y rsync
- name: Sync source
run: |
mkdir -p /data/source/my-project
rsync -a --delete \
./ \
/data/source/my-project/