Create gh-pages.yml

Dieser Commit ist enthalten in:
Peter 2021-04-20 21:28:50 +02:00 committet von GitHub
Ursprung d1e8fbc470
Commit 0ae7ecf9ad
Es konnte kein GPG-SchlĂĽssel zu dieser Signatur gefunden werden
GPG-SchlĂĽssel-ID: 4AEE18F83AFDEB23

21
.github/gh-pages.yml gevendort Normale Datei
Datei anzeigen

@ -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.