From 0ae7ecf9add73693b3592bd1e31904c31216dc87 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 20 Apr 2021 21:28:50 +0200 Subject: [PATCH] Create gh-pages.yml --- .github/gh-pages.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/gh-pages.yml diff --git a/.github/gh-pages.yml b/.github/gh-pages.yml new file mode 100644 index 000000000..f79edb87f --- /dev/null +++ b/.github/gh-pages.yml @@ -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.