Skip to content

Commit

Permalink
Merge pull request #18 from UNopenGIS:component-live-editor-tweaks
Browse files Browse the repository at this point in the history
fix:  gh_actions to use user email and name
  • Loading branch information
albertkun authored Dec 15, 2023
2 parents cdde5c9 + 62435ac commit bc24082
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@ jobs:

- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git config --local http.https://github.com/.extraheader "AUTHORIZATION: bearer ${{ secrets.PAT }}"
git config --local user.email "[email protected]"
git config --local user.name "albertkun"
git add .
git commit -m "[Auto] Update static files" || exit 0 # Don't fail if no changes
git push origin HEAD:dev
env:
GIT_AUTH_TOKEN: ${{ secrets.PAT }}
git push https://x-access-token:${{ secrets.PAT }}@github.com/UNopenGIS/learning.git HEAD:dev

0 comments on commit bc24082

Please sign in to comment.