feat: update workflow

This commit is contained in:
2026-01-29 14:21:04 +01:00
parent 5371b9d305
commit a16c79575f

View File

@@ -52,6 +52,8 @@ jobs:
- name: Publish Branch
if: ${{ !github.event.pull_request.head.repo.fork }}
run: rsync -rav --mkpath --delete build/ deploy@charachorder.io:/home/deploy/ref/${GITHUB_REF##*/}
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
run: rsync -rav --mkpath --delete build/ deploy@charachorder.io:/home/deploy/ref/$BRANCH_NAME
- name: Publish Commit
run: rsync -rav --mkpath --delete build/ deploy@charachorder.io:/home/deploy/ref/${{ github.sha }}