Skip to content

Commit

Permalink
chore: push code again
Browse files Browse the repository at this point in the history
  • Loading branch information
koen1711 committed Nov 28, 2023
1 parent 67eba57 commit c880f92
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/minify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,13 @@ jobs:
- name: Minify
run: |
pyminify ./ --in-place
- name: Make a pull request to the minified branch
- name: Push the minified code
run: |
gh auth login --with-token ${{ secrets.GITHUB_TOKEN }}
gh pr create --title "Minify code" --body "Minified code" --head minified --base main --repo ${{ github.repository }}
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add .
git commit -m "Minify code"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c880f92

Please sign in to comment.