... | ... | @@ -25,6 +25,47 @@ Note that this is experimental and subject to change. |
|
|
|
|
|
Currently jekyll, sphinx and simple webpage static websites are supported. These builds are enabled only for the @websites.
|
|
|
|
|
|
You can ask @Sysadmin to create a repository in the @websites group, and do relevant domain name setup. Once that is done, you just need to add the relevant include line in your website.
|
|
|
|
|
|
### jekyll
|
|
|
|
|
|
```yaml
|
|
|
include: 'https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/websites-jekyll.yml'
|
|
|
variables:
|
|
|
WEBSITE_DIR: your.domain.name
|
|
|
```
|
|
|
|
|
|
Make sure to exclude the `Gemfile`, `Gemfile.lock` and `vendor` directory in your website configuration `_config.yml`
|
|
|
|
|
|
```yaml
|
|
|
exclude:
|
|
|
- vendor
|
|
|
- Gemfile
|
|
|
- Gemfile.lock
|
|
|
```
|
|
|
|
|
|
### sphinx
|
|
|
|
|
|
```yaml
|
|
|
include: 'https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/websites-sphinx.yml'
|
|
|
variables:
|
|
|
WEBSITE_DIR: your.domain.name
|
|
|
```
|
|
|
|
|
|
Make sure to exclude the `venv` from the `conf.py` of your sphinx configuration:
|
|
|
|
|
|
```python
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'venv']
|
|
|
```
|
|
|
|
|
|
### simple webpage
|
|
|
|
|
|
```yaml
|
|
|
include: 'https://invent.kde.org/sysadmin/ci-tooling/raw/master/invent/websites-simple.yml'
|
|
|
variables:
|
|
|
WEBSITE_DIR: your.domain.name
|
|
|
```
|
|
|
|
|
|
## Flatpak
|
|
|
|
|
|
Description about how to use flatpak builds.
|
... | ... | |