fix drone publish
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Yann Autissier
2024-12-06 16:27:13 +00:00
parent a7b3239b02
commit d95a152135

View File

@@ -7,7 +7,7 @@ steps:
- name: build
image: docker:dind
environment:
COMPOSE_PROJECT_NAME: dav-testing-${DRONE_COMMIT_BRANCH//\//-}
COMPOSE_PROJECT_NAME: ${DRONE_REPO_OWNER,,}-${DRONE_REPO_NAME,,}-${DRONE_COMMIT_BRANCH//\//-}
NUXT_APP_BASE_URL: /${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}/
SERVICE_3000_CHECK_HTTP: /${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}/
SERVICE_3000_TAGS: urlprefix-testing.asycn.io/${DRONE_REPO_OWNER}/${DRONE_REPO_NAME}/${DRONE_COMMIT_BRANCH}/*
@@ -19,7 +19,7 @@ steps:
path: /var/run/docker.sock
- name: publish
image: ryjer/drone-scp
image: plugins/sftp
settings:
username:
from_secret: ssh_username
@@ -27,9 +27,8 @@ steps:
from_secret: ssh_password
host: open.us.org
port: 22
rm: true
source: ./.output/public/
target: /dav/www/
files: ./.output/public/*
destination_path: /dav/www/
when:
branch:
- main
@@ -41,6 +40,7 @@ steps:
when:
status:
- success
- failure
settings:
token:
from_secret: telegram_token