Separate installing dependencies and build site
Dieser Commit ist enthalten in:
Ursprung
26ace065fa
Commit
fa82d9a6de
1 geÀnderte Dateien mit 6 neuen und 3 gelöschten Zeilen
9
.github/workflows/gh-pages.yml
gevendort
9
.github/workflows/gh-pages.yml
gevendort
|
@ -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.
|
||||
|
|
Laden âŠ
In neuem Issue referenzieren