fix: use container.options volume mount for host directory access in deploy workflow
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user