move built files to release branch
Some checks failed
CI / test-and-build (push) Has been cancelled

This commit is contained in:
2026-03-24 11:52:30 +01:00
parent e8ffb3e3e5
commit 93b5543017

View File

@@ -12,6 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITEA_TOKEN }}
- uses: actions/setup-node@v4
with:
@@ -26,3 +29,13 @@ jobs:
- name: Build
run: npm run build
- name: Push dist to release branch
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: |
git config user.name "ci"
git config user.email "ci@limelight"
git checkout -B release
git add -f dist/
git commit -m "release: $(git log main -1 --pretty=%s)" || echo "nothing to commit"
git push origin release --force