fix(actions)
This commit is contained in:
parent
c1c93b537e
commit
12964b7a91
1 changed files with 10 additions and 3 deletions
|
@ -30,10 +30,17 @@ jobs:
|
||||||
ref: dist
|
ref: dist
|
||||||
clean: false
|
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
|
- name: Commit and push to dist branch
|
||||||
run: |
|
run: |
|
||||||
git config user.name "gitea-actions[bot]"
|
git config user.name "gitea-actions[bot]"
|
||||||
git config user.email "gitea-actions[bot]@git.z0x.ca"
|
git config user.email "gitea-actions[bot]@git.z0x.ca"
|
||||||
git add -f dist
|
git add -A
|
||||||
git commit -m "ci(dist): build dist"
|
git commit -m "ci(dist): update dist contents"
|
||||||
git push origin dist
|
git push origin dist
|
Loading…
Add table
Reference in a new issue