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

Use deploy-to-vercel-action instead of vercel cli #1026

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Dr-Electron
Copy link
Collaborator

Description of change

I switched to this action to make the setup more straight forward

Links to any relevant issues

Fixes #1017

Type of change

  • Enhancement (a non-breaking change which adds functionality)

Change checklist

  • I have followed the contribution guidelines for this project
  • I have performed a self-review of my own changes
  • I have made sure that added/changed links still work
  • I have commented my code, particularly in hard-to-understand areas

@Dr-Electron Dr-Electron requested a review from jlvandenhout July 9, 2023 19:40
Copy link
Contributor

@jlvandenhout jlvandenhout left a comment

Choose a reason for hiding this comment

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

I have no clue anymore why I did it the way I did, but if this now works, hey, it works!

.github/workflows/deploy.yml Show resolved Hide resolved
@Dr-Electron
Copy link
Collaborator Author

I have no clue anymore why I did it the way I did, but if this now works, hey, it works!

I think this was done by Begoña. So you are fine :trollface:

Co-authored-by: Jeroen van den Hout <[email protected]>
Copy link
Member

@VmMad VmMad left a comment

Choose a reason for hiding this comment

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

hey @Dr-Electron! I was reviewing the workflow and I don't know if using this action right now is the best idea. I left some comments:

VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
PR_LABELS: false
PREBUILT: true
Copy link
Member

Choose a reason for hiding this comment

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

This is not going to work because neither FORCE or PREBUILT are in the latest released version of this action.
And judging by the workflow it looks like it might be an important flag. Just letting you know.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. Thanks for that. We can just wait for the next release or add the latest changes from the repo.
@jlvandenhout wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, after the restructure we will have a much less complex build, so we might go back to a more vanilla Vercel workflow anyway.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok. Will convert this to a DRAFT in the meantime. @VmMad thanks for your help ❤️

Copy link
Member

Choose a reason for hiding this comment

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

You're welcome! 😃

.github/workflows/deploy.yml Show resolved Hide resolved
.github/workflows/preview.yml Show resolved Hide resolved
@Dr-Electron Dr-Electron marked this pull request as draft July 10, 2023 13:30
@begonaalvarezd begonaalvarezd removed their request for review November 2, 2023 14:29
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.

Use deploy-to-vercel-action action instead of vercel cli directly
3 participants