@@ -7,14 +7,16 @@ on:
|
|||||||
- develop
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
sync-source:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /data:/data
|
||||||
steps:
|
steps:
|
||||||
- name: Clone or Pull
|
- name: Clone or Pull
|
||||||
env:
|
env:
|
||||||
REPO_URL: https://gitea.digitoolsolutions.synology.me/lamtruong28/Test.git
|
REPO_URL: https://gitea.digitoolsolutions.synology.me/lamtruong28/Test.git
|
||||||
TARGET_DIR: /workspace/Test
|
TARGET_DIR: /data/Test
|
||||||
BRANCH: develop
|
BRANCH: develop
|
||||||
run: |
|
run: |
|
||||||
if [ ! -d "$TARGET_DIR/.git" ]; then
|
if [ ! -d "$TARGET_DIR/.git" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user