Add GitLab Pages deployment to CI configuration
This update introduces a new job to deploy GitLab Pages. The job copies content from the `docs/` directory to the `public/` directory and is triggered only on the `develop` branch.
This commit is contained in:
@@ -60,3 +60,15 @@ sonarcloud_scan:
|
||||
only:
|
||||
- merge_requests
|
||||
- develop
|
||||
|
||||
pages:
|
||||
stage: on_commit
|
||||
script:
|
||||
- echo "Deploying GitLab Pages from docs/"
|
||||
- mkdir public
|
||||
- cp -r docs/* public/
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- develop
|
||||
|
||||
Reference in New Issue
Block a user