Skip to content

Conversation

@Ethan-Arrowood
Copy link
Member

@Ethan-Arrowood Ethan-Arrowood commented Dec 17, 2025

This PR adds a new workflow for deploying PRs to a Harper Fabric cluster for previewing. You can see how it works in this PR itself.

@github-actions github-actions bot temporarily deployed to pr-408 December 17, 2025 20:03 Inactive
@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com:9925//pr-408

This preview will update automatically when you push new commits.

@heskew
Copy link
Member

heskew commented Dec 17, 2025

👀

@Ethan-Arrowood
Copy link
Member Author

🤫

@github-actions github-actions bot temporarily deployed to pr-408 December 17, 2025 20:41 Inactive
@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-408 December 17, 2025 21:07 Inactive
@Ethan-Arrowood Ethan-Arrowood changed the title nothing to see here Preview PRs using Harper Fabric ✨ Dec 17, 2025
@Ethan-Arrowood
Copy link
Member Author

I'm going to attempt the close and reopen flows now.

@github-actions
Copy link

🧹 Preview Cleanup

The preview deployment for this PR has been removed.

@github-actions github-actions bot temporarily deployed to pr-408 December 18, 2025 16:54 Inactive
@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

@github-actions
Copy link

🧹 Preview Cleanup

The preview deployment for this PR has been removed.

@github-actions github-actions bot temporarily deployed to pr-408 December 18, 2025 17:00 Inactive
@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

@Ethan-Arrowood Ethan-Arrowood marked this pull request as ready for review December 18, 2025 17:18
@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-408 December 18, 2025 17:22 Inactive
group: pages-${{ github.event_name }}-${{ github.event_name == 'pull_request' && github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
group: production-deploy
cancel-in-progress: false
Copy link
Member

Choose a reason for hiding this comment

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

might as well cancel in progress just in case the newer one is faster to build and deploy than an earlier one. could get in a weird state.

Copy link
Member

@heskew heskew left a comment

Choose a reason for hiding this comment

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

sweet. love the prod workflow cleanup too.

is there a risk of someone cutting a pr we don't notice and putting something malicious up on an official lookin (though clearly not 'production') harper site? can we put it on a manual gate to start, eventually auto deploy trusted groups/individuals?

@Ethan-Arrowood
Copy link
Member Author

I believe GitHub requires us to approve workflow runs for non-collaborators.

@github-actions github-actions bot temporarily deployed to pr-408 December 18, 2025 17:44 Inactive
@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

Copy link
Member

@kriszyp kriszyp left a comment

Choose a reason for hiding this comment

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

So cool!

- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Generally, I don't think you want fetch-depth: 0 as it will download the entire git history when you probably only need the most recent commit which is faster.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure why this is here but can remove

- name: Install HarperDB CLI
run: |
npm install harperdb
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not install harper globally? Then I would think you wouldn't need npx on the next step, right?

Copy link
Member Author

Choose a reason for hiding this comment

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

good idea!

@github-actions
Copy link

🚀 Preview Deployment

Your preview deployment is ready!

🔗 Preview URL: https://preview.harper-docs.stage.harperfabric.com/pr-408

This preview will update automatically when you push new commits.

@github-actions github-actions bot temporarily deployed to pr-408 December 19, 2025 15:15 Inactive
@Ethan-Arrowood Ethan-Arrowood merged commit 4e12356 into init-learn Dec 19, 2025
5 checks passed
@Ethan-Arrowood Ethan-Arrowood deleted the preview-prs branch December 19, 2025 15:25
@github-actions
Copy link

🧹 Preview Cleanup

The preview deployment for this PR has been removed.

Ethan-Arrowood added a commit that referenced this pull request Dec 19, 2025
* initializing the new learn tab

* progress

* install page draft complete

* clean up versioned content and sidebars

* ohhh prettier

* iterate on installation docs more and stub out rest of getting started

* keep getting started simple

* quick edits before format

* fix redirects and format

* wtf prettier

* fix broken links

* fix some config

* fixes

* add deploy to fabric section

* switch to PUT

* add repo branch references to subsections

* Preview PRs using Harper Fabric ✨ (#408)

* first pass

* fix workflow maybe

* try again

* beep boop

* - to _

* fix preview-pr script

* cancel-in-progress for deploy

* fix fetch depth and global install harper

* Apply suggestions from code review

Co-authored-by: Chris Barber <chris@harperdb.io>

* Update release-notes/v4-tucker/4.2.0.md

Co-authored-by: Chris Barber <chris@harperdb.io>

---------

Co-authored-by: Chris Barber <chris@harperdb.io>
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.

5 participants