From 59b2546eccd8414248d2cea02331f9598c1fabdd Mon Sep 17 00:00:00 2001 From: PengiCoder <125250316+PengiCoder@users.noreply.github.com> Date: Mon, 2 Sep 2024 09:06:51 +0000 Subject: [PATCH] test 3 --- .github/workflows/deploy.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 442a548..d0c6efd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -42,12 +42,10 @@ jobs: rm -rf website-repo/wiki/* cp -r site/* website-repo/wiki/ - - name: Commit and push changes - run: | - cd website-repo - git config --global user.name 'github-actions[bot]' - git config --global user.email 'github-actions[bot]@users.noreply.github.com' - COMMIT_MESSAGE=$(echo ${{ env.COMMIT_MESSAGE }} | base64 --decode || echo "Update wiki") - git add . - git commit -m "Wiki: $COMMIT_MESSAGE" - git push \ No newline at end of file + - name: Deploy 🚀 + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: releases/v4 + folder: . + clean: false + single-commit: true \ No newline at end of file