Skip to content

Commit

Permalink
chore: upload to a minified branch
Browse files Browse the repository at this point in the history
  • Loading branch information
koen1711 committed Nov 28, 2023
1 parent d43cb7d commit bbd8bf8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/minify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
run: |
pyminify ./ --in-place
- name: Upload to minified branch
uses: actions/upload-artifact@v2
with:
name: minified
path: ./
run: |
gh auth login --with-token < token.txt
git checkout -b minified
git add .
git commit -m "Minify code"
git push origin minified
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit bbd8bf8

Please sign in to comment.