From 838624abcd4c3b0b06e9178d0eff8cc98c98a8b7 Mon Sep 17 00:00:00 2001 From: z0x <homelab@home.arpa> Date: Sat, 25 Jan 2025 14:43:14 -0500 Subject: [PATCH] fix(actions) --- .gitea/workflows/build-dist.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/build-dist.yaml b/.gitea/workflows/build-dist.yaml index 8012598..7aaae92 100644 --- a/.gitea/workflows/build-dist.yaml +++ b/.gitea/workflows/build-dist.yaml @@ -32,17 +32,15 @@ jobs: - name: Copy dist to build branch run: | + rm -rf build/* mkdir -p build/dist cp -R dist/* build/dist/ - - name: Configure Git - run: | - git config --local user.name "gitea-actions[bot]" - git config --local user.email "gitea-actions[bot]@git.z0x.ca" - - name: Commit and Push changes run: | cd build + git config user.name "gitea-actions[bot]" + git config user.email "gitea-actions[bot]@git.z0x.ca" git add . git commit -m "ci(dist): build dist" || echo "No changes to commit" git push origin build