Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
Attempt to modify the git push command to include the token
  • Loading branch information
vedantcj authored May 7, 2024
1 parent c646587 commit d0c246e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

- name: Push changes
uses: ad-m/github-push-action@master
with:
branch: ${{ github.ref }}
run: |
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Auto-commit"
git push https://${{ secrets.GH_TOKEN }}@github.com/vedantcj/16039PEOdI.git HEAD:main

0 comments on commit d0c246e

Please sign in to comment.