diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 6da4cf7..b08ad10 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 e64c3a6..25ffd77 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Deploy Releases +name: Publish all on: push: