Live data from Hacker News

Show HN: A Github Action for deploying files to the any cloud storage

github.com

1–6 of 6 posts

Re: Show HN: A Github Action for deploying files to the any cloud storage

#4
That's pretty neat. I wonder if anyone can help with my use-case. Basically I want to replicate netlify's [1] "deploy-previews". Hopefully I can get it working some day.

The action runs on a PR:

1. runs build

2. create static-hosting subdomain, e.g. "pr-233-myrepo.mysite.com"

3. upload build to subdomain

Subsequent commits to the PR: simply rebuild then upload.

Anyone know some ways to achieve this?

[1] https://www.netlify.com/blog/2016/07/20/introducing-deploy-p...

Re: Show HN: A Github Action for deploying files to the any cloud storage

#5
post #4

That's pretty neat. I wonder if anyone can help with my use-case. Basically I want to replicate netlify's [1] "deploy-previews". Hopefully I can get it working some day. The action runs on a PR: 1. runs build 2. create static-hosting subdomain, e.g. "pr-233-myrepo.mysite.com" 3. upload build to subdomain Subsequent commits to the PR: simply rebuild then upload. Anyone know some ways to achieve this? [1] https://www.n…

I think it could be achieved by the caddy and uptoc. But, uptoc need implement a HTTPDriver for upload the dist to your hosting.

Re: Show HN: A Github Action for deploying files to the any cloud storage

#6
post #5
post #4

That's pretty neat. I wonder if anyone can help with my use-case. Basically I want to replicate netlify's [1] "deploy-previews". Hopefully I can get it working some day. The action runs on a PR: 1. runs build 2. create static-hosting subdomain, e.g. "pr-233-myrepo.mysite.com" 3. upload build to subdomain Subsequent commits to the PR: simply rebuild then upload. Anyone know some ways to achieve this? [1] https://www.n…

I think it could be achieved by the caddy and uptoc. But, uptoc need implement a HTTPDriver for upload the dist to your hosting.

Thanks mate I'll check that out!