Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Hotshot10101 · Aug 19, 2016 at 06:17 PM · deploymentunity cloud buildftp

Unity Cloud Build Auto Deploy WebGL to my Server

I am hosting my WebGL app on a server that allows FTP to upload the files. I have been using that to deploy the files that get built from Unity.

I am now using Unity Cloud Build to build the files.

I would like to know if there is some automated process I can add into the Unity Cloud Build that will automatically FTP all the files directly to my server, so I don't have to download the files to my computer from the Unity Cloud Build and then upload them via FTP to the server.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Hotshot10101 · Sep 02, 2016 at 03:21 PM 0
Share

bump.......

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by CrymX · Jan 19, 2017 at 07:17 PM

Hello i think you can use webhook https://blogs.unity3d.com/2016/09/07/webhooks-and-slack-notifications-in-unity-cloud-build/

binded to your personnal webService, then take the download link from the webrequest of the current build and push it on your FTP.

I give it a try soon

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by pravusjif · Dec 07, 2018 at 04:39 PM

Extending CrymX's answer, With unity cloud build's successful build webhook you receive in the JSON's body the build direct download link for example at response.links.artifacts[0].files[0].href

Alternatively you can configure this pipeline that also works: unity cloud build success webhook hits your endpoint -> get build api-url in your endpoint -> hit unity cloud build API with that build api-url to get the direct download link to the build.

These links cover the logic needed for this: Basic logic for hitting unity cloud build API: https://hobbyistcoder.com/2016/07/30/unity-cloud-build-automation-pipeline/

User doing exactly this pipeline to serve the build to "HockeyApp": https://forum.unity.com/threads/unity-cloud-build-to-hockeyapp.427009/

Link to the server-side script he used: https://github.com/th3d0g/unitycloudbuildhockeyapp/blob/master/index.js

I hope this helps someone!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Hotshot10101 · Dec 07, 2018 at 04:41 PM

Thank you for your help.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

53 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Web deployment - Is it as easy as this? 1 Answer

Same exe file behave different in two PC´s... why? 1 Answer

Combining 3 Games into a single APK 1 Answer

Download from FTP 3 Answers

Unity Cloud Build. How to set ENABLE_BITCODE for iOS? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges