Merge branch 'master' of https://github.com/PDOK/leermodule-ogc-api #80
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: Deploy MkDocs to GitHub Pages | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Stap 1: Haal de repository op | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| # Stap 2: Installeer Python | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' # Kies gewenste versie | |
| # Stap 3: Installeer MkDocs en plugins | |
| - name: Install dependencies | |
| run: | | |
| pip install mkdocs mkdocs-material | |
| # Voeg extra plugins toe indien nodig, bijv.: | |
| # pip install mkdocs-awesome-pages-plugin | |
| # Stap 4: Build en deploy naar GitHub Pages | |
| - name: Deploy to GitHub Pages | |
| run: | | |
| mkdocs gh-deploy --force | |