pipeline fix

This commit is contained in:
2024-12-28 11:52:01 +09:00
parent cb5c88bf10
commit b68bfbfb07

View File

@@ -7,8 +7,9 @@ steps:
- name: clone_repo
image: alpine/git
commands:
- git clone $DRONE_REPO_URL .
- git checkout $DRONE_COMMIT
- if [ ! -d .git ]; then git clone $DRONE_REPO_URL .; fi
- git fetch --all
- git reset --hard $DRONE_COMMIT
# Шаг 2: Обновление и запуск с помощью update.sh
- name: deploy_app