Skip to content

Help setting up pr-previews #48

Closed Answered by rossjrw
IamShubhamGupto asked this question in Q&A
Discussion options

You must be logged in to vote

@IamShubhamGupto Yep, looks approximately right to me:

https://github.com/compressed-sensing/algorithms/blob/cbf887bd7d0c0bad45ae3e603098dd405b764e63/.github/workflows/preview.yml#L62C2-L65

    - name: 🚀 Deploy Preview to GitHub Pages
      uses: rossjrw/pr-preview-action@v1
      with:
        source-dir: _build/html

Best way to test it will be to create a PR now and see if the preview works as expected.

I notice in your gh-pages branch there's a stale preview for a closed PR that wasn't cleaned up: https://github.com/compressed-sensing/algorithms/tree/gh-pages/pr-preview/pr-11 - I suspect this is from when you were trialling different preview methods and turned off my action before it h…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@IamShubhamGupto
Comment options

@rossjrw
Comment options

Answer selected by IamShubhamGupto
Comment options

You must be logged in to vote
2 replies
@rossjrw
Comment options

@IamShubhamGupto
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #47 on May 02, 2023 12:43.