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

split build workflow into two #465

Merged
merged 1 commit into from
Aug 30, 2024
Merged

split build workflow into two #465

merged 1 commit into from
Aug 30, 2024

Conversation

bast
Copy link
Member

@bast bast commented Aug 29, 2024

  • one that builds the preview
  • one that build production once we merge or push to main

for me this is easier to understand with fewer of the ifs but downside is a bit more duplication

one that builds the preview
one that build production once we merge or push to main

for me this is easier to understand with fewer of the ifs
but downside is a bit more duplication
Copy link

Once the build has completed, you can preview your PR at this URL: https://nordic-rse.github.io/previews/PR465/

@rkdarst
Copy link
Member

rkdarst commented Aug 30, 2024

This looks good to me and I would merge.

When using this, I think it wouldn't delete the previews when PRs get merged. There was another action on prs closed to do that (in the refs we saw). With that, I'd say go for this.

@bast
Copy link
Member Author

bast commented Aug 30, 2024

Yes, another workflow does the cleanup.

@bast bast merged commit 49b78e7 into main Aug 30, 2024
2 checks passed
@bast bast deleted the radovan/refactor-workflows branch August 30, 2024 12:48
@bast
Copy link
Member Author

bast commented Aug 30, 2024

Oops - some run failed. I am looking into it.

@bast
Copy link
Member Author

bast commented Aug 30, 2024

Followed-up in #466.

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.

2 participants