From 75c3982b9799ff4155030f3d114027a40d440c5a Mon Sep 17 00:00:00 2001 From: Bastian de Byl Date: Mon, 28 Sep 2020 23:34:10 -0400 Subject: [PATCH] removed .gitlab-ci.yml, added gate step --- .drone.yml | 7 +++++++ .gitlab-ci.yml | 23 ----------------------- 2 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.drone.yml b/.drone.yml index ea29532..8a8915f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,6 +7,13 @@ platform: arch: arm steps: + - name: gate + image: bdebyl/alpine-git + commands: + - git fetch origin +refs/heads/master + - git show-ref + - git diff --name-only HEAD~1..HEAD | grep -v '.drone.yml\|LICENSE\|README.md\|.gitignore\|Makefile' || exit 78 + - name: build image: bdebyl/hugo commands: diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index c799472..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,23 +0,0 @@ -stages: - - build - - deploy - -variables: - HUGO_IMAGE_TAG: "arm" - AWS_IMAGE_TAG: "0.2" - -before_script: - - rm -rf themes/even - - git clone https://gitlab.com/bdebyl/hugo-theme-even.git themes/even - -build: - stage: build - script: - - make -e build - -deploy: - stage: deploy - script: - - make -e deploy cache - only: - - master