From 4e589e542b57dbc36d704d3720a97b2a2f69d8b0 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 15 Jan 2024 17:29:56 +0100 Subject: [PATCH] Cleanup CI job --- .github/workflows/gh-pages.yml | 14 ++++---------- build.sh | 2 +- qwc2.yml.in | 4 ---- 3 files changed, 5 insertions(+), 15 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 9c02ee46..c99779ff 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -16,13 +16,7 @@ jobs: fetch-depth: 0 - name: Build - run: ./build.sh --update - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/master' - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./site - force_orphan: true - keep_files: false + run: | + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + ./build.sh --update diff --git a/build.sh b/build.sh index c5af8f87..5309d94a 100755 --- a/build.sh +++ b/build.sh @@ -44,7 +44,7 @@ echo "* Clean previous HTML build..." rm -rf site echo "* Building HTML..." -mike deploy -F qwc2.yml $branch +mike deploy -F qwc2.yml --push $branch # cleanup venv echo "* Clean venv..." diff --git a/qwc2.yml.in b/qwc2.yml.in index 2227d33a..b52a6dac 100644 --- a/qwc2.yml.in +++ b/qwc2.yml.in @@ -35,7 +35,3 @@ extra_css: markdown_extensions: - toc: permalink: true -extra: - version: - provider: mike - default: master