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