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: on:
push: push:
branches: [main] branches: [main]
paths-ignore:
- '.gitea/workflows/deploy.yml'
- 'deploy.sh'
jobs: jobs:
deploy: deploy:
runs-on: aliyun runs-on: aliyun
container:
options: -v /root/PR-Helper:/root/PR-Helper
steps: steps:
- name: Deploy - name: Deploy
run: cd /root/PR-Helper && bash deploy.sh run: cd /root/PR-Helper && bash deploy.sh