Skip to content
Snippets Groups Projects
Commit c952993b authored by Alexandre MEYER's avatar Alexandre MEYER
Browse files

Update file .gitlab-ci.yml

parent f9420a15
No related branches found
No related tags found
No related merge requests found
# 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
- 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
# 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
- hugo list drafts
- mv public ../public
- ls -la ../public
- ls -la ../public/tags
- hugo --gc
# - 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment