From 33ab11d701fe03df5fd408953c17cb9e67be10fc Mon Sep 17 00:00:00 2001 From: trueold89 Date: Tue, 5 Nov 2024 23:30:09 +0300 Subject: [PATCH] Update cicd --- .drone.yml | 26 ++++++++++++++++++++++++++ .gitea/worker.gpg | Bin 697 -> 0 bytes .gitea/workflows/pipeline.yml | 16 ---------------- 3 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 .drone.yml delete mode 100644 .gitea/worker.gpg delete mode 100644 .gitea/workflows/pipeline.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f19c83f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,26 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: Обновляю сайт + image: docker:latest + volumes: + - name: dockersock + path: /var/run/docker.sock + environment: + CONTAINER_NAME: + from_secret: CONTAINER_ID + commands: + - echo "Restarting Docker container: ${CONTAINER_NAME}" + - docker restart "${CONTAINER_NAME}" + +trigger: + branch: + - main + +volumes: + - name: dockersock + host: + path: /var/run/docker.sock + diff --git a/.gitea/worker.gpg b/.gitea/worker.gpg deleted file mode 100644 index db351d696078e7659d678531073276c0879a1b02..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 697 zcmV;q0!ICX0gMAC_ftoLuNmI~3;?MgvJ0b>8D4Ge6(dlyw5bk^i*jK#ngkABgA2`&nPC}cebc1wpj!!PY-WSN zR<_47PKG1^6@F_)+j`z8hu=o=BXDtGuW<2UNZni_f0f8!V3XCEWah;bZ)SzY-y$Vl zJsbLVt4IOrLUC)W!PMK6C?Z6AZS5UW_l6c=SWygOE|8>l+0ve4lnup;O@)*vH~ETe z9yQpe@tHKW{i!fkxFv(8e>MoMl4uXxG7f!VGTaSC0i$-8=SSIAIW~S0p$Do?0B=ob zHNH`=epZYWxij041KWc`F@t)878(A86TQ2EbuX~SnYkrmXw2;nT%^9p?t~JjkH;R< zQ<|AD4Y3hNVSX;{tpdrsHAeJbzURFVz zZjxjjFMoI74KI4hjG{CWX||(5kyPB5;ANmoCVk5X`MT8!RlZ_CDkWV>%q=_|o f4nt2$SF~=#?GYg+4Xj+^@}25l4OSCbV^3+2X`e