Anyone used digital ocean spaces? I want to implem...
# random
e
Anyone used digital ocean spaces? I want to implement share functionality in my application. User will create some workflows and when user clicks on generate button it should share that work flow via random generated URL. When someone visits this url it should show static web page. How can I do that? Will digital ocean spaces help in such cases or please let me know if there are any other options
w
yes you can achieve this functionality with DO spaces by making the space publicly accessible.
👍 1
e
but can I host static web sites only randomly generated url?? any pointers which you can give for reference?
One more example which I can share after jenkins pipeline we can build & publish storybook and host it on some url after each pull request is raised on github. url might look like this https://myurl.com/PR-102 https://myurl.com/PR-120 etc How can I do this is it possible?
c
think of Digital Ocean spaces as a "directory on a remote server", use s3cmd or
aws s3 sync
to transfer the data. access it via URL.
👍 1
e
I can also use digital ocean digital spaces for deploying artifacts right?
👍 1
c
ensure to have multiple buckets, keep private and public ones separate to avoid leaking of private assets.