Separate installing dependencies and build site

Dieser Commit ist enthalten in:
MAGIC 2021-04-20 21:43:59 +02:00
Ursprung 26ace065fa
Commit fa82d9a6de
Es konnte kein GPG-SchlĂŒssel zu dieser Signatur gefunden werden
GPG-SchlĂŒssel-ID: A40EE5665510C9D5

Datei anzeigen

@ -7,15 +7,18 @@ jobs:
- name: Checkout đŸ“„
uses: actions/checkout@v2.3.4
- name: Install and Build 🔧
- name: Install dependencies 🐄
run: |
sudo apt-get -y update
sudo apt-get -y install python3-pip
pip install mkdocs-material pygments==2.8.1 mkdocs-redirects
mkdocs build --verbose --clean
- name: Build site 🔧
run: |
mkdocs build --verbose --clean
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: . # The folder the action should deploy.
folder: docs # The folder the action should deploy.