Erweitere das Dockerfile um die Installation von OpenSSL und aktualis… #693
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Deploy Website | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| release: | |
| types: [published] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| # cancels the deployment for the automatic merge push created when tagging a release | |
| if: contains(github.ref, 'refs/tags') == false || github.event_name == 'release' | |
| name: Build and Deploy Website | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@v2 | |
| - name: Set up Python 3.10 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.10' | |
| - name: Install mkdocs dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install mkdocs-material | |
| pip install mkdocs-minify-plugin | |
| pip install mkdocs-rss-plugin | |
| pip install mkdocs-git-revision-date-localized-plugin | |
| pip install mkdocs-htmlproofer-plugin | |
| pip install pillow | |
| pip install cairosvg | |
| - name: Optimize images | |
| run: | | |
| python image_optimizer.py --mode build | |
| - name: Deploy Github Pages | |
| env: | |
| PYTHONWARNINGS: ignore | |
| run: | | |
| git pull | |
| mkdocs gh-deploy --no-history 2>&1 | grep -v '\[git-revision-date-localized-plugin\]' | grep -v 'has no git logs' | grep -v 'First revision timestamp' | grep -v 'RSS-plugin.*Dates could not be retrieved' || true |