Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# The Docker image that will be used to build your app
image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest
pages:
script:
- hugo version
- cd web
- ls -la content
- hugo -v --gc
- hugo list drafts
- mv public ../public
- ls -la ../public
- ls -la ../public/tags
# - ls -la ../public/page
# - ls -la ../public/categories
# - cat ../public/index.html
artifacts:
paths:
- public
only:
- main
# test:
# script:
# - pwd
# - cd web
# - hugo
# - mv public ../public
# - ls -la ..
# - ls -la ../public
# - chmod 755 ../public
# - chmod 644 ../public/index.html
# except:
# - main