fix: use container.options volume mount for host directory access in deploy workflow

This commit is contained in:
2026-06-20 23:56:00 +08:00
parent fc1e564628
commit f278908526
+5
View File
@@ -4,10 +4,15 @@ run-name: ${{ gitea.actor }} deployed PR-Helper
on:
push:
branches: [main]
paths-ignore:
- '.gitea/workflows/deploy.yml'
- 'deploy.sh'
jobs:
deploy:
runs-on: aliyun
container:
options: -v /root/PR-Helper:/root/PR-Helper
steps:
- name: Deploy
run: cd /root/PR-Helper && bash deploy.sh