Skip to content

Commit

Permalink
Update zipit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel99j2 authored Jul 10, 2024
1 parent 7dbc6ee commit a8ec56e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/zipit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,11 @@ jobs:
run: zip -r pack.zip . -x "pack.zip"

- name: Commit and push pack.zip
env:
GH_PAT: ${{ secrets.GH_PAT }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add pack.zip
git commit -m 'Add generated pack.zip'
git push
env:
GH_PAT: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
git push https://${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git HEAD:main

0 comments on commit a8ec56e

Please sign in to comment.