change ci config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-04-16 22:33:13 +02:00
parent a20c6c5ec0
commit 26e861b0ab
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
3 changed files with 19 additions and 5 deletions

View File

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

13
.drone.yml.old Normal file
View File

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

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM httpd
COPY ./ /user/local/apache2/htdocs/