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 # The Docker image that will be used to build your app
image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest image: harbor.pagoda.os.univ-lyon1.fr/ecoquery-hugo/hugo:latest
pages: pages:
script: script:
- hugo version - hugo version
- cd web - cd web
- ls -la content - ls -la content
- hugo -v - hugo -v
- hugo list drafts - hugo list drafts
- mv public ../public - mv public ../public
- ls -la ../public - ls -la ../public
- ls -la ../public/tags - ls -la ../public/tags
# - ls -la ../public/page - hugo --gc
- ls -la ../public/categories # - ls -la ../public/page
- cat ../public/index.html # - ls -la ../public/categories
artifacts: #- cat ../public/index.html
paths: artifacts:
- public paths:
only: - public
- main only:
- main
# test:
# script: # test:
# - pwd # script:
# - cd web # - pwd
# - hugo # - cd web
# - mv public ../public # - hugo
# - ls -la .. # - mv public ../public
# - ls -la ../public # - ls -la ..
# - chmod 755 ../public # - ls -la ../public
# - chmod 644 ../public/index.html # - chmod 755 ../public
# except: # - chmod 644 ../public/index.html
# - main # 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