Skip to content
Snippets Groups Projects
Commit 58c2d2b2 authored by nguyed99's avatar nguyed99
Browse files

Update CI to deploy webpage

parent 635c2419
No related branches found
No related tags found
No related merge requests found
Pipeline #58939 failed
......@@ -30,12 +30,14 @@ test-tasks:
- poetry run pytest tasks/tests/
pages:
stage: build-page
stage: deploy
script:
- mkdir .public
- cp -r website/* .public
- echo 'Nothing to do but build a website...'
artifacts:
paths:
- public
- public
expire_in: 1 day
only:
- main
\ No newline at end of file
- main
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
File moved
File moved
File moved
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