From 09a38c4bf394d6473d14184c15566eb93bec80d7 Mon Sep 17 00:00:00 2001 From: Madeleine <32415621+SpyHoodle@users.noreply.github.com> Date: Tue, 24 May 2022 15:09:12 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 35c3ea5..b64ad5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,7 +32,19 @@ jobs: cd src zip -r ../pridefetch.zip * - - name: turn into a UNIX executable + - name: Turn into a UNIX executable run: | echo '#!/usr/bin/env python' | cat - pridefetch.zip > pridefetch chmod +x pridefetch + + - name: Commit files + run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + git commit -m "Build executable" -a + + - name: Push changes + uses: ad-m/github-push-action@master + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + branch: ${{ github.ref }}