diff --git a/.drone.yml b/.drone.yml index b24f70d3..7a963067 100644 --- a/.drone.yml +++ b/.drone.yml @@ -109,12 +109,13 @@ steps: settings: command_timeout: 30m host: rick.kerjean.me - user: + username: from_secret: SSH_USERNAME password: from_secret: SSH_PASSWORD source: filestash_Linux-x86_64.tar.gpg target: /mnt/me-kerjean-pages/projects/filestash/downloads/latest/ + overwrite: true - name: release_docker image: plugins/docker @@ -134,7 +135,8 @@ steps: - name: release_report image: plugins/irc - depends_on: [ release_deploy ] + failure: ignore + depends_on: [ release_docker ] when: branch: master settings: @@ -148,4 +150,4 @@ steps: Build success: https://github.com/mickael-kerjean/filestash/commit/{{build.commit}} {{else}} Build failure: er}} https://github.com/mickael-kerjean/filestash/commit/{{build.commit}} - {{/success}} \ No newline at end of file + {{/success}} diff --git a/docker/Dockerfile b/docker/Dockerfile index 2a041dbb..9e9df1d5 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update > /dev/null && \ apt-get install -y libglib2.0-0 curl gnupg > /dev/null && \ echo $PUBLIC_KEY | gpg --import && \ cd /tmp/ && \ - curl --resolve downloads.filestash.app:443:94.23.200.66 -s https://downloads.filestash.app/latest/filestash_`uname -s`-`uname -m`.tar.gpg | gpg --decrypt | tar xf - && \ + curl --resolve downloads.filestash.app -s https://downloads.filestash.app/latest/filestash_`uname -s`-`uname -m`.tar.gpg | gpg --decrypt | tar xf - && \ mv filestash /app/ && \ apt-get purge -y --auto-remove gnupg && \ ################# diff --git a/server/plugin/index.go b/server/plugin/index.go index aaa8f491..140ae102 100644 --- a/server/plugin/index.go +++ b/server/plugin/index.go @@ -14,7 +14,6 @@ import ( _ "github.com/mickael-kerjean/filestash/server/plugin/plg_backend_dropbox" _ "github.com/mickael-kerjean/filestash/server/plugin/plg_security_scanner" _ "github.com/mickael-kerjean/filestash/server/plugin/plg_security_svg" - _ "github.com/mickael-kerjean/filestash/server/plugin/plg_handler_console" . "github.com/mickael-kerjean/filestash/server/common" )