Add PR preview deployments via GitHub Actions#56
Conversation
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
|
|
@copilot only publish map.js files and html and json, i don't think you should publish anything else |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in 71ae8b0. Added a "Stage preview files" step that copies only |
|
@copilot also css and i think this is not trigger gh-pages to be deployed |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Done in a162b58. Two changes:
|
Change umbrella directory from 'pr-preview' to 'preview' and add new options for QR code and deployment wait.
|
@copilot getting stuck Checking configuration and starting deployment… 🚦
|
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Fixed in 414e8cf. The issue was |
|
@copilot no i want that on, i think the issue is we need to trigger the other workflow from this workflow |
Co-authored-by: ProLoser <67395+ProLoser@users.noreply.github.com>
Fixed in c8cd488. The core problem: Restructured into two jobs (c8cd488):
|
Updated the PR preview workflow to include token injection for environment variables.
.github/workflows/pr-preview.ymlworkflow that:map.js,.html,.json, and.cssfiles (excludes favicons, crawler, docs, screenshots, etc.)preview/pr-{number}subdirectory on gh-pages branch usingrossjrw/pr-preview-action@v1https://funcheapsfmap.com/preview/pr-1/)preview(pushes files, dispatchesdeploy.ymlviaworkflow_dispatch) andwait(usesgh run watchto block until the dispatcheddeploy.ymlrun completes, ensuring Pages is live before the workflow finishes)🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.