From 741c084fb0cb1e5b467387275ebf170bcee7d31c Mon Sep 17 00:00:00 2001 From: udhayarajan Date: Wed, 8 Mar 2023 14:26:35 +0530 Subject: [PATCH] Updated on_release.yml --- .github/workflows/on_release.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/on_release.yml b/.github/workflows/on_release.yml index 3278f1b5..7cd511e2 100644 --- a/.github/workflows/on_release.yml +++ b/.github/workflows/on_release.yml @@ -33,16 +33,16 @@ jobs: - name: Generate Dokka HTML run: ./gradlew dokkahtml -# - name: Commit changes -# run: | -# git config --global user.email "actions@github.com" -# git config --global user.name "GitHub Actions" -# git commit -m "Docs updated" -a -# -# - name: Push changes -# uses: ad-m/github-push-action@master -# with: -# github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Commit changes + run: | + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" + git commit -m "Docs updated" -a + + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} publish: name: Release build and publish