title: Cloud Build Trigger for FTP or SSH deployment
body: <p>How can I deploy a directory to a FTP or SSH server, with a <a href="https://console.cloud.google.com/cloud-build/triggers" rel="nofollow noreferrer">trigger</a> and  <code>cloudbuild.yaml</code>?</p>
  <p>So far I can already generate a listing of the files which I'd like to upload:</p>
  <pre><code>steps:
    - name: 'ubuntu'
      entrypoint: 'bash'
      args:
        - '-c'
        - |-
          find $_UPLOAD_DIRNAME -exec echo {} &gt;&gt; batch.txt \;
          cat ./batch.txt
      env:
        ...
  </code></pre>