From 12964b7a91328dd7bbf3e3291c5cfe07932ab43c Mon Sep 17 00:00:00 2001 From: z0x Date: Sat, 25 Jan 2025 13:27:13 -0500 Subject: [PATCH] fix(actions) --- .gitea/workflows/build-dist.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-dist.yaml b/.gitea/workflows/build-dist.yaml index 0166285..14495d8 100644 --- a/.gitea/workflows/build-dist.yaml +++ b/.gitea/workflows/build-dist.yaml @@ -30,10 +30,17 @@ jobs: ref: dist clean: false + - name: Copy dist contents + run: | + git rm -rf . + git checkout main -- dist + mv dist/* . + rm -rf dist + - name: Commit and push to dist branch run: | git config user.name "gitea-actions[bot]" git config user.email "gitea-actions[bot]@git.z0x.ca" - git add -f dist - git commit -m "ci(dist): build dist" - git push origin dist + git add -A + git commit -m "ci(dist): update dist contents" + git push origin dist \ No newline at end of file