outstatic icon indicating copy to clipboard operation
outstatic copied to clipboard

Add branch name configuration

Open ahaasler opened this issue 2 years ago • 1 comments

Hi, I'm adding Outstatic to my webpage and I need to be able to change the branch name because I'm not using the main branch for my repo.

I've decided to use OST_REPO_BRANCH env variable for this to be on par with the existing configuration options.

Great work on Outstatic, is looks really clean and is easy to add to a Next.js page.

ahaasler avatar Oct 23 '22 15:10 ahaasler

Someone is attempting to deploy a commit to a Personal Account owned by @avitorio on Vercel.

@avitorio first needs to authorize it.

vercel[bot] avatar Oct 23 '22 15:10 vercel[bot]

This would be awesome! I tried to add outstatic in my website but I'm working in master branch.

frgarciames avatar Oct 26 '22 07:10 frgarciames

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
outstatic-dev-blog ❌ Failed (Inspect) Oct 26, 2022 at 5:45PM (UTC)
outstatic-web ✅ Ready (Inspect) Visit Preview Oct 26, 2022 at 5:45PM (UTC)

vercel[bot] avatar Oct 26 '22 17:10 vercel[bot]

Hi, I've amended the commit with changes for reading the content from the proper git branch on GitHub, not just for commiting. Thanks @avitorio for noticing. I've also updated the graphql generated code.

ahaasler avatar Oct 26 '22 17:10 ahaasler