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