Create gh-pages.yml
Dieser Commit ist enthalten in:
Ursprung
d1e8fbc470
Commit
0ae7ecf9ad
1 geänderte Dateien mit 21 neuen und 0 gelöschten Zeilen
21
.github/gh-pages.yml
gevendort
Normale Datei
21
.github/gh-pages.yml
gevendort
Normale Datei
|
@ -0,0 +1,21 @@
|
||||||
|
name: Build and deploy to gh-pages
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout đź“Ą
|
||||||
|
uses: actions/checkout@v2.3.4
|
||||||
|
|
||||||
|
- name: Install and Build 🔧
|
||||||
|
run: |
|
||||||
|
sudo apt-get -y update
|
||||||
|
sudo apt-get -y install python3-pip
|
||||||
|
pip install mkdocs-material pygments mkdocs-redirects
|
||||||
|
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.
|
Laden …
Tabelle hinzufĂĽgen
In neuem Issue referenzieren