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
7
.github/workflows/gh-pages.yml
gevendort
7
.github/workflows/gh-pages.yml
gevendort
|
@ -7,15 +7,18 @@ jobs:
|
||||||
- name: Checkout đ„
|
- name: Checkout đ„
|
||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
- name: Install and Build đ§
|
- name: Install dependencies đ
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
sudo apt-get -y install python3-pip
|
sudo apt-get -y install python3-pip
|
||||||
pip install mkdocs-material pygments==2.8.1 mkdocs-redirects
|
pip install mkdocs-material pygments==2.8.1 mkdocs-redirects
|
||||||
|
|
||||||
|
- name: Build site đ§
|
||||||
|
run: |
|
||||||
mkdocs build --verbose --clean
|
mkdocs build --verbose --clean
|
||||||
|
|
||||||
- name: Deploy đ
|
- name: Deploy đ
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.1
|
uses: JamesIves/github-pages-deploy-action@4.1.1
|
||||||
with:
|
with:
|
||||||
branch: gh-pages # The branch the action should deploy to.
|
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