change ci config
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
a20c6c5ec0
commit
26e861b0ab
|
@ -1,13 +1,11 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: html_website
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: html_validate
|
- name: html_validate
|
||||||
image: ubuntu
|
image: ubuntu
|
||||||
commands:
|
commands:
|
||||||
- apt-get update && apt-get install -y tidy
|
- apt-get update && apt-get install -y tidy
|
||||||
- tidy -imu index.html + || if [ $? -eq 1 ]; then echo "you fail"; fi
|
- tidy -imu index.html + || true
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- master
|
|
||||||
|
|
|
@ -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
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM httpd
|
||||||
|
|
||||||
|
COPY ./ /user/local/apache2/htdocs/
|
Loading…
Reference in New Issue