From 458cdf5d3991ff9c09b703585dfb95a6f143d9d3 Mon Sep 17 00:00:00 2001 From: Denys Konovalov Date: Sun, 19 Mar 2023 09:49:36 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9E.drone.yml=E2=80=9C=20l=C3=B6schen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 132 ----------------------------------------------------- 1 file changed, 132 deletions(-) delete mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index a59c4203..00000000 --- a/.drone.yml +++ /dev/null @@ -1,132 +0,0 @@ -kind: pipeline -type: docker -name: prod -steps: - - name: submodules - image: alpine/git - commands: - - git submodule update --init --recursive - - - name: hugo build - image: plugins/hugo - settings: - hugo_version: 0.110.0 - validate: false - extended: true - url: https://cantorgymnasium.de/ - commands: - - apk add --update --no-cache tzdata - - /bin/drone-hugo - - - name: deploy - image: drillster/drone-rsync - settings: - hosts: [ "cantorgymnasium.de" ] - port: - from_secret: ssh_port - user: web-push - key: - from_secret: ssh_key - source: public/ - target: /opt/data/webdata/gcg-website/ - recursive: true - delete: true - - - name: search index - image: appleboy/drone-ssh - settings: - host: - - cantorgymnasium.de - username: web-push - key: - from_secret: ssh_key - port: - from_secret: ssh_port - command_timeout: 1m - script: - - cd /opt/data/webdata/gcg-website/ - - pagefind --source=. - - - name: notification - image: appleboy/drone-telegram - settings: - token: - from_secret: telegram_token - to: - from_secret: telegram_room_id - when: - status: - - success - - failure - -trigger: - branch: - - master - event: - - push - - cron - - rollback - ---- -kind: pipeline -type: docker -name: test -steps: - - name: submodules - image: alpine/git - commands: - - git submodule update --init --recursive - - - name: test build - image: plugins/hugo - settings: - hugo_version: 0.110.0 - validate: false - buildDrafts: true - buildFuture: true - extended: true - output: test - url: https://test.cantorgymnasium.de/ - commands: - - apk add --update --no-cache tzdata - - /bin/drone-hugo - - - name: deploy - image: drillster/drone-rsync - settings: - hosts: [ "cantorgymnasium.de" ] - port: - from_secret: ssh_port - user: web-push - key: - from_secret: ssh_key - source: test/ - target: /opt/data/webdata/gcg-website-test/ - recursive: true - delete: true - - - name: search index - image: appleboy/drone-ssh - settings: - host: - - cantorgymnasium.de - username: web-push - key: - from_secret: ssh_key - port: - from_secret: ssh_port - command_timeout: 1m - script: - - cd /opt/data/webdata/gcg-website-test/ - - pagefind --source=. - -trigger: - branch: - - master - event: - - push - - cron - - rollback - -depends_on: -- prod \ No newline at end of file