This commit is contained in:
Gregan 2021-07-30 23:25:25 +02:00
commit 640417cc35
4 changed files with 1 additions and 41 deletions

View File

@ -1,20 +0,0 @@
# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
image: registry.gitlab.com/pages/hugo:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
script:
- hugo
except:
- master
pages:
script:
- hugo
artifacts:
paths:
- public
only:
- master

View File

@ -7,6 +7,7 @@ tags: ["test", "contenu", "photos", "gif", "code"]
## Image via link:
![](https://pbs.twimg.com/media/DGKRMoPXcAIyA8y.jpg)
commentaire ...
------

10
headers
View File

@ -1,10 +0,0 @@
HTTP/1.1 200 OK
Server: nginx/1.21.1
Date: Thu, 29 Jul 2021 16:22:12 GMT
Content-Type: text/html
Content-Length: 17678
Last-Modified: Thu, 29 Jul 2021 08:52:10 GMT
Connection: keep-alive
ETag: "61026c3a-450e"
Accept-Ranges: bytes

View File

@ -1,11 +0,0 @@
#!/bin/bash
echo "TEST WEB"
url=http://localhost:9999
curl ${url} -I -o headers -s
reponse=$(cat headers | head -n 1 | cut '-d ' '-f2')
if [ $reponse == "200" ]
then
echo "SUCCESS"
exit 0
fi