Skip to content
Snippets Groups Projects
Verified Commit 62fd90ce authored by Julien Wittouck's avatar Julien Wittouck
Browse files

:construction_worker: : switch pages to pipeline build

parent d0c53df3
No related branches found
No related tags found
No related merge requests found
Pipeline #52626 passed
build: pages:
image: image:
name: "ghcr.io/juwit/course-builder:main" name: "ghcr.io/juwit/course-builder:main"
entrypoint: ["/bin/sh", "-c"] entrypoint: ["/bin/sh", "-c"]
stage: deploy stage: deploy
rules: rules:
- if: $CI_COMMIT_REF_NAME == 'main' - if: $CI_COMMIT_REF_NAME == 'main'
script:
- task
- mkdir public
- cp -R index.html css images reveal w* public
cache: cache:
paths: paths:
- .task/ - .task/
- public/
pages:
image:
name: "alpine:latest"
entrypoint: ["/bin/sh", "-c"]
stage: deploy
rules:
- if: $CI_COMMIT_REF_NAME == 'main'
script: script:
- mkdir public - task
- mkdir -p public
- cp -R index.html css images reveal w* public - cp -R index.html css images reveal w* public
artifacts: artifacts:
paths: paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment