when:
  - event: tag
    branch: main
    path: "get_prymn.sh"

steps:
  upload:
    image: woodpeckerci/plugin-s3
    settings:
      bucket: prymn-static
      endpoint: https://75178f9eca227dea51b3db4db2c15a5a.r2.cloudflarestorage.com
      access_key:
        from_secret: r2_access_key
      secret_key:
        from_secret: r2_secret_key
      source: "get_prymn.sh"
      target: "/agent/dist"