From ec8916f2dcd9138ad51471c2fc82321a1c843ecb Mon Sep 17 00:00:00 2001 From: MajorDroolz Date: Mon, 19 Dec 2022 23:01:45 -0500 Subject: [PATCH] FIX: Github actiobs auth. --- .github/workflows/minify.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/minify.yml b/.github/workflows/minify.yml index 53af497..9de4e1f 100644 --- a/.github/workflows/minify.yml +++ b/.github/workflows/minify.yml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + token: ${{ secrets.KEY }} # Install CLI tools - uses: actions/setup-node@v3 @@ -25,7 +27,7 @@ jobs: - run: for i in `find . -name "*.html" -type f`; do html-minifier --remove-comments --collapse-whitespace $i -o $i; done # Push changes to `build` branch - - run: git config user.name ${{github.actor}} - - run: git config user.email ${{github.actor}}@user.noreply.github.com - - run: git commit -am 'Automated minify of ${{github.sha}}' + - run: git config user.name ${{ github.actor }} + - run: git config user.email ${{ github.actor }}@user.noreply.github.com + - run: git commit -am 'Automated minify of ${{ github.sha }}' - run: git push --force -u origin main:build