Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

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

Draft
Dr-Electron wants to merge 3 commits intomainfrom
refactor/vercel-deployment
Draft

Use deploy-to-vercel-action instead of vercel cli#1026
Dr-Electron wants to merge 3 commits intomainfrom
refactor/vercel-deployment

Conversation

@Dr-Electron
Copy link
Copy Markdown
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
Copy Markdown
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!

Comment thread .github/workflows/deploy.yml
@Dr-Electron
Copy link
Copy Markdown
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 <jlvandenhout@gmail.com>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

Choose a reason for hiding this comment

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

You're welcome! 😃

Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/preview.yml
@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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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