diff --git a/.github/workflows/Build pkgdown site.yaml b/.github/workflows/Build pkgdown site.yaml index 627ab0a..7b1f932 100644 --- a/.github/workflows/Build pkgdown site.yaml +++ b/.github/workflows/Build pkgdown site.yaml @@ -62,7 +62,7 @@ jobs: run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' + git pull --rebase origin ${{ github.head_ref }} git add -A git commit -m 'Build pkgdown site [skip ci]' - git pull --rebase origin ${{ github.head_ref }} git push origin HEAD:${{ github.head_ref }} diff --git a/.github/workflows/increment_version.yaml b/.github/workflows/increment_version.yaml index f940f0f..48acbbc 100644 --- a/.github/workflows/increment_version.yaml +++ b/.github/workflows/increment_version.yaml @@ -57,7 +57,7 @@ jobs: run: | git config --global user.name 'github-actions[bot]' git config --global user.email 'github-actions[bot]@users.noreply.github.com' - git add -A - git commit -m 'Increment version [skip ci]' git pull --rebase origin ${{ github.head_ref }} + git add -A + git commit -m 'Build pkgdown site [skip ci]' git push origin HEAD:${{ github.head_ref }}