From 3b8f1f26946fb458237caa630e967032a909d69f Mon Sep 17 00:00:00 2001 From: xeovalyte Date: Fri, 19 Jan 2024 12:56:23 +0100 Subject: [PATCH] Update .gitea/workflows/pages.yml --- .gitea/workflows/pages.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pages.yml b/.gitea/workflows/pages.yml index 77f2dfc..f6e5e3a 100644 --- a/.gitea/workflows/pages.yml +++ b/.gitea/workflows/pages.yml @@ -21,8 +21,9 @@ jobs: # Commit and push all changed files. - run: | - git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.name "${{ env.GITHUB_USER }}" git config --global user.email "me+ci@xeovalyte.dev" + git config --global user.password "${{GITHUB_TOKEN}}" - run: | git submodule update --init --recursive --remote pages - run: | @@ -30,8 +31,6 @@ jobs: cp site/* pages/ -r - run: | cd pages/ - git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" - git config --global user.email "me+ci@xeovalyte.dev" git add . git commit -m "${{ env.CI_COMMIT_MESSAGE }}" git push origin HEAD:pages