From e9cba6826a0ff3bc1c335c5e99a168912197dbb4 Mon Sep 17 00:00:00 2001 From: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com> Date: Thu, 2 Jan 2025 13:06:01 +0100 Subject: [PATCH] cleanup workflows Signed-off-by: Andrei Gherghescu <8067229+andrei-ng@users.noreply.github.com> --- .github/workflows/book.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 6da4cf71..b08ad106 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -34,11 +34,11 @@ jobs: run: | rm -rf content cp -r gh-pages/content . - - name: Deploy to GitHub Pages + - name: Trigger GitHub Pages Bot run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' - + git add content if [ "${{ github.ref_type }}" == "tag" ]; then git commit --allow-empty -m "update book for release ${{ github.ref }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e64c3a6e..25ffd779 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Deploy Releases +name: Publish all on: push: