would you please help me
I have Drone CI and Gitea both running in a docker image and what I’m trying to do is that when my code is pushed to Gitea, it gets copied to a certain directory on my Nas. (so on the host, which also runs docker)
how do i get this done? I think I have to work with volume… but iam not sure. what I’ve made so far:
pipeline: drone: image: appleboy/drone-ssh volumes: - name: testfolder path: /folder/on/my/nas/ host: 192.168.1.1 username: admin password: from_secret: password port: 22 source: ./* target: ~/testfolder script: - dsd hoi volumes: - name: testfolder
do i have to define volumes 2x? And maybe I should define path again at the bottom?