From 77f17a17f812fa8180efa70561cf09998e31f0a7 Mon Sep 17 00:00:00 2001 From: wanggang <76527413@qq.com> Date: Thu, 10 Jun 2021 11:28:04 +0800 Subject: [PATCH] fix --- .drone.yml | 4 ++-- conf/gitea/custom/app.ini | 1 - docker-compose.yml | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 conf/gitea/custom/app.ini diff --git a/.drone.yml b/.drone.yml index 89c5838..bbf1f1d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -22,7 +22,7 @@ steps: username: root password: from_secret: ssh_password - target: ~/publish/cicd/publish + target: /root/publish/cicd/publish source: ./ rm: false - name: restart @@ -34,7 +34,7 @@ steps: password: from_secret: ssh_password script: - - cd ~/publish/cicd/publish + - cd /root/publish/cicd/publish - chmod 755 start.sh - chmod 755 stop.sh - ./start.sh diff --git a/conf/gitea/custom/app.ini b/conf/gitea/custom/app.ini deleted file mode 100644 index 6c97f29..0000000 --- a/conf/gitea/custom/app.ini +++ /dev/null @@ -1 +0,0 @@ -#8a4832ccaba86ed1a4dd5b94c928cfeb846e0980 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 05d41f5..70bfc2f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -64,7 +64,6 @@ services: volumes: - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - - ./conf/gitea/custom:/data/gitea/custom - ${DATA}gitea:/data drone: #https://docs.drone.io/server/provider/gitea/ https://github.com/drone/drone image: drone/drone:2.0.1