From 26e861b0ab1ed4fb8caa2012a4e19cfd32b516ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 16 Apr 2020 22:33:13 +0200 Subject: [PATCH] change ci config --- .drone.yml | 8 +++----- .drone.yml.old | 13 +++++++++++++ Dockerfile | 3 +++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 .drone.yml.old create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml index b82effa..7b4fe76 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,11 @@ kind: pipeline type: docker -name: default +name: html_website steps: - name: html_validate image: ubuntu commands: - apt-get update && apt-get install -y tidy - - tidy -imu index.html + || if [ $? -eq 1 ]; then echo "you fail"; fi -trigger: - branch: - - master + - tidy -imu index.html + || true + diff --git a/.drone.yml.old b/.drone.yml.old new file mode 100644 index 0000000..b82effa --- /dev/null +++ b/.drone.yml.old @@ -0,0 +1,13 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: html_validate + image: ubuntu + commands: + - apt-get update && apt-get install -y tidy + - tidy -imu index.html + || if [ $? -eq 1 ]; then echo "you fail"; fi +trigger: + branch: + - master diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0777abd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM httpd + +COPY ./ /user/local/apache2/htdocs/