fix: correct dist deployment path in forgejo workflow
Some checks failed
/ build (push) Failing after 1m19s
Some checks failed
/ build (push) Failing after 1m19s
This commit is contained in:
parent
53b0362107
commit
d6e1b63210
1 changed files with 5 additions and 1 deletions
|
|
@ -43,7 +43,11 @@ jobs:
|
|||
cd repo
|
||||
git checkout dist-${{ env.FORGEJO_REF_NAME }} || git checkout --orphan dist-${{ env.FORGEJO_REF_NAME }}
|
||||
git rm -rf .
|
||||
git add ../dist
|
||||
|
||||
# Copy dist files to repo directory
|
||||
cp -r ../dist/* ./
|
||||
|
||||
git add .
|
||||
git commit -m "Update dist for ${{ env.FORGEJO_REF_NAME }}"
|
||||
git push origin dist-${{ env.FORGEJO_REF_NAME }} --force
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue