Prepare for renovate bot
Dieser Commit ist enthalten in:
Ursprung
d83c4e8dd4
Commit
9e0afa5141
4 geÀnderte Dateien mit 30 neuen und 3 gelöschten Zeilen
2
.github/workflows/gh-pages.yml
gevendort
2
.github/workflows/gh-pages.yml
gevendort
|
@ -16,7 +16,7 @@ jobs:
|
|||
run: |
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install python3-pip
|
||||
pip install mkdocs-material==7.3.6 pygments==2.10.0 mkdocs-redirects==1.0.3
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Build site đ§
|
||||
run: |
|
||||
|
|
23
.github/workflows/renovate_check-build.yml
gevendort
Normale Datei
23
.github/workflows/renovate_check-build.yml
gevendort
Normale Datei
|
@ -0,0 +1,23 @@
|
|||
name: Check build for renovate
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'renovate/**'
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout đ„
|
||||
uses: actions/checkout@v2.4.0
|
||||
with:
|
||||
token: '${{ secrets.GHPAGES_ACTION_CHECKOUT_TOKEN_PAT }}'
|
||||
|
||||
- name: Install dependencies đ
|
||||
run: |
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install python3-pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Build site đ§
|
||||
run: |
|
||||
mkdocs build --verbose --clean
|
|
@ -1,4 +1,4 @@
|
|||
[![Build and deploy to gh-pages](https://github.com/mailcow/mailcow-dockerized-docs/actions/workflows/gh-pages.yml/badge.svg)](https://github.com/mailcow/mailcow-dockerized-docs/actions/workflows/gh-pages.yml)
|
||||
[![Build and deploy to gh-pages](https://img.shields.io/github/workflow/status/mailcow/mailcow-dockerized-docs/Build%20and%20deploy%20to%20gh-pages/master?label=Build%20and%20deploy%20to%20gh-pages)](https://github.com/mailcow/mailcow-dockerized-docs/actions/workflows/gh-pages.yml)
|
||||
|
||||
# mailcow: dockerized documentation
|
||||
|
||||
|
@ -9,6 +9,7 @@ https://mailcow.github.io/mailcow-dockerized-docs
|
|||
To build it locally, you need the [Material theme for MkDocs](https://squidfunk.github.io/mkdocs-material/), [MkDocs](https://www.mkdocs.org/) itself and [Pygments](http://pygments.org/). To install these with [pip](https://pip.pypa.io/en/stable/) and get it up and running, fire up your terminal and enter
|
||||
|
||||
```
|
||||
pip install mkdocs-material==7.3.6 pygments==2.10.0 mkdocs-redirects==1.0.3
|
||||
git clone https://github.com/mailcow/mailcow-dockerized-docs.git
|
||||
pip install -r requirements.txt
|
||||
mkdocs serve
|
||||
```
|
||||
|
|
3
requirements.txt
Normale Datei
3
requirements.txt
Normale Datei
|
@ -0,0 +1,3 @@
|
|||
mkdocs-material==7.3.6
|
||||
mkdocs-redirects==1.0.3
|
||||
pygments==2.10.0
|
Laden âŠ
In neuem Issue referenzieren