pipeline fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user