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/