feat: update workflow

This commit is contained in:
2026-05-19 09:49:52 +02:00
parent 5af6f5df8d
commit 43efe3a91d
+3 -1
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 }}