Commit e70e794a authored by Pado's avatar Pado
Browse files

Update README.md

parent 6b71109c
Pipeline #1187 passed with stages
in 3 seconds
---
Example plain HTML site using GitLab Pages.
Learn more about GitLab Pages at https://pages.gitlab.io and the official
documentation https://docs.gitlab.com/ce/user/project/pages/.
---
## GitLab CI
This project's static Pages are built by [GitLab CI][ci], following the steps
defined in [`.gitlab-ci.yml`](.gitlab-ci.yml):
```
variables:
EXPORT_DIR: "/var/www/html/pages"
pages-master:
stage: deploy
script:
- mkdir "$EXPORT_DIR/$CI_PROJECT_NAME"
- cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
tags:
- production
only:
- master
```
The above example expects to put all your HTML files in the `public/` directory.
This code creates a project site for public use. The site calculates the average reading time of English texts for (Algerian) learners of English at different levels of experience.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment