gnosisguild / zodiac-safe-app

https://gnosis-safe.io/app/share/safe-app?appUrl=https://zodiac.gnosisguild.org/&chainId=5
GNU Lesser General Public License v3.0
26 stars 28 forks source link

Use vercel cli to build backend #178

Closed samepant closed 1 year ago

samepant commented 1 year ago

The BetaHuhn/deploy-to-vercel-action@v1 action package was getting hung during our release deployment action. I believe this is because we don't have a build script in our package.json (relying instead on vercel to do the building directly). Also it was originally created before vercel had better support for its CLI tool.

I changed the vercel deployment portion of the action to use the CLI directly.

vercel[bot] commented 1 year ago

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

Name Status Preview Updated
zodiac-safe-app ✅ Ready (Inspect) Visit Preview Nov 14, 2022 at 1:21PM (UTC)
zodiac-safe-app-ui ✅ Ready (Inspect) Visit Preview Nov 14, 2022 at 1:21PM (UTC)
samepant commented 1 year ago

Don't we need to set the working directory for these commands to packages/backend? 🤔

we don't, as the vercel pull retrieves the project settings from our account

samepant commented 1 year ago

Just tested locally with act, it's working