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