From 96bea9a12741895358df4bf34521efcd6c8f3736 Mon Sep 17 00:00:00 2001 From: alterNERDtive Date: Wed, 1 Jun 2022 09:03:15 +0200 Subject: [PATCH] auto-deploy gh-pages on release --- .github/workflows/gh-pages.yaml | 21 +++++++++++++++++++++ requirements.txt | 1 + 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/gh-pages.yaml create mode 100644 requirements.txt diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml new file mode 100644 index 0000000..d32aa0b --- /dev/null +++ b/.github/workflows/gh-pages.yaml @@ -0,0 +1,21 @@ +name: Deploy github pages on tag push + +on: + push: + tags: + - 'release/*' + +jobs: + build: + name: Build bindED + runs-on: ubuntu-latest + + steps: + - name: Checkout source code + uses: actions/checkout@v2 + + - name: Deploy docs + uses: mhausenblas/mkdocs-deploy-gh-pages@nomaterial + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + REQUIREMENTS: requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..978c5a1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +mkdocs-roamlinks-plugin