Skip to content

Commit

Permalink
Fixes the docs generation for tagged releases
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <linzhu.ht@alibaba-inc.com>
  • Loading branch information
sighingnow committed Jun 13, 2023
1 parent e9af91a commit 96e52f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
- main
- docs
- dev/docs
tags:
- "v*"
pull_request_target:
branches:
- main
Expand Down Expand Up @@ -224,8 +226,8 @@ jobs:
shopt -s extglob
rm google-java-format-1.13.0-all-deps.jar* || true
git config user.email github-actions@github.com
git config user.name github-actions
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
tag=$(git describe --exact-match --tags HEAD 2>/dev/null || true)
Expand Down Expand Up @@ -258,6 +260,6 @@ jobs:
rm -rf ../analytical_engine/java || true
git add -A
git commit --amend --no-edit -m "Generate latest docs on CI, from commit ${{ github.sha }}." --author "github-actions <github-actions@github.com>" -s --date="$(date -R)"
git commit --amend --no-edit -m "Generate latest docs on CI, from commit ${{ github.sha }}." --author "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" -s --date="$(date -R)"
git push -f origin gh-pages

0 comments on commit 96e52f6

Please sign in to comment.