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
|
||||
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
|
Loading…
Add table
Reference in a new issue