From 5b1c78e128fcfc564f17fe63509f59cb209859c0 Mon Sep 17 00:00:00 2001 From: Ludee Date: Mon, 12 Jun 2023 23:20:42 +0200 Subject: [PATCH] Add workflow for github page #118 --- .github/workflows/gh-pages.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/gh-pages.yml diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 00000000..fc7d475d --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,21 @@ +name: gh-pages +on: + push: + branches: + - feature-120-repo +permissions: + contents: write +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - uses: actions/cache@v2 + with: + key: ${{ github.ref }} + path: .cache + - run: pip install --upgrade -r requirements.txt + - run: mkdocs gh-deploy --force