Skip to content

Commit

Permalink
Fix push to git
Browse files Browse the repository at this point in the history
  • Loading branch information
grvodolagin committed Dec 20, 2022
1 parent 0b92259 commit c45b789
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ jobs:
run: |
poetry config pypi-token.pypi "${{ secrets.PYPI_PASSWORD }}"
make publish
- name: Git push
uses: github-actions-x/commit@v2.9
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'main'
commit-message: '[skip ci] Version updated to ${{env.PROJECT_VERSION}}'
files: pyproject.toml
run: |
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/provectus/mlops-utilities.git
git config --global user.name "github-actions"
git add pyproject.toml
git commit -m '[skip ci] Version updated to ${{env.PROJECT_VERSION}}'
git push -u origin HEAD:${{ github.ref }}

0 comments on commit c45b789

Please sign in to comment.