Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vercel migration #57

Merged
merged 12 commits into from
Sep 26, 2023
Merged

Vercel migration #57

merged 12 commits into from
Sep 26, 2023

Conversation

tony-sull
Copy link
Contributor

Migrating the site from Netlify to Vercel

TODO:

  • disable main build and deploy in Netlify before merging
  • update Vercel project to deploy from main
  • final test on Vercel temporary URL
  • update DNS to point the production site to the new builds

@vercel
Copy link

vercel bot commented Sep 26, 2023

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

Name Status Preview Comments Updated (UTC)
astro-new ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2023 6:10pm

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a great way to replicate this in Vercel unfortunately, I'll setup a cron-job.org account to handle triggering a build webhook

if (typeof import.meta.env.PUBLIC_VITE_GITHUB_TOKEN !== 'string') {
Accept: "application/vnd.github.v3+json",
})
if (typeof import.meta.env.GITHUB_TOKEN !== "string") {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we had a mix of a couple variables here, simplified to a single server-only variable

package.json Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@tony-sull tony-sull merged commit 554cfdc into main Sep 26, 2023
2 checks passed
@tony-sull tony-sull deleted the vercel-migration branch September 26, 2023 19:11
tony-sull added a commit that referenced this pull request Sep 26, 2023
tony-sull added a commit that referenced this pull request Sep 26, 2023
@tony-sull tony-sull restored the vercel-migration branch September 26, 2023 19:49
@tony-sull tony-sull mentioned this pull request Sep 26, 2023
@tony-sull tony-sull deleted the vercel-migration branch September 27, 2023 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants