removed .gitlab-ci.yml, added gate step

This commit is contained in:
Bastian de Byl
2020-09-28 23:34:10 -04:00
parent fa1d4922d6
commit 75c3982b97
2 changed files with 7 additions and 23 deletions

View File

@@ -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:

View File

@@ -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