From a29dd36d973ea14d9aecd99022e055ffd62c1df7 Mon Sep 17 00:00:00 2001 From: Lukas Klic Date: Mon, 19 Feb 2024 12:36:49 +0100 Subject: [PATCH] updating CI --- .github/workflows/ci.yml | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 995fa4b..d8064ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,32 +1,7 @@ -name: Deploy MkDocs Site - -on: - push: - branches: - - master # Make sure this is your default branch - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: '3.9' - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install mkdocs-material - - - name: Build the MkDocs Site - run: mkdocs build - - - name: Copy CNAME file - run: cp CNAME site/CNAME - - name: Deploy to GitHub Pages - run: mkdocs gh-deploy --force + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site + cname: docs.artresearch.net + keep_files: true