From 280b0488563f41f787d423a89fc9ae187a48071f Mon Sep 17 00:00:00 2001 From: taskylizard <75871323+taskylizard@users.noreply.github.com> Date: Sun, 4 Jun 2023 00:32:00 +0530 Subject: [PATCH] Update single-page.yml --- .github/workflows/single-page.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/single-page.yml b/.github/workflows/single-page.yml index 5218d104d..846149240 100644 --- a/.github/workflows/single-page.yml +++ b/.github/workflows/single-page.yml @@ -21,12 +21,15 @@ jobs: with: python-version: '3.10' - - name: Run script - run: python .github/single-page.py - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.5 - with: - branch: main - folder: . - commit-message: "♻️ update single page" + - name: Configure Git + run: | + git config user.name "taskylizard" + git config user.email "75871323+taskylizard@users.noreply.github.com" + + - name: Update + shell: bash + run: | + python .github/single-page.py + git add . + git commit -m '♻️ update single page' + git push