Files
Test/.gitea/workflows/sync-source.yaml
T
lamtruong28 48ca9dbabf
Sync Source / sync (push) Successful in 33s
Run sync
2026-08-08 15:58:53 +07:00

32 lines
544 B
YAML

name: Sync Source
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/