Preview/albatross#2
Merged
Merged
Conversation
…ment environment and welcome posts
…nd artifact upload process
…steps, and enhance concurrency handling
- Replace Preview Pages action with standard peaceiris/actions-gh-pages
- Deploy PR previews to /pull/{pr-number}/ paths
- Add cleanup workflow for closed PRs
- Should work with custom domain devnomadic.com
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to the GitHub Actions workflows for deployment and preview, along with minor content and configuration changes to improve maintainability and functionality. The most important changes include renaming and restructuring workflow files, replacing the custom preview deployment logic with a reusable action, and adding new configurations for SEO and SPA compatibility.
Workflow Updates:
.github/workflows/github-pages.ymlto.github/workflows/pages.ymland streamlined the build process by removing unnecessary steps likeSetup Pages. [1] [2]preview-deploy.ymlworkflow and replaced it with a newpreview.ymlworkflow that uses therossjrw/pr-preview-actionfor simplified preview deployment. [1] [2]Configuration and SEO Enhancements:
robots.txtfile to allow/disallow specific paths for web crawlers and included the sitemap location for improved SEO.CNAMEfile, likely to avoid domain conflicts during preview deployments.Frontend and SPA Compatibility:
_layouts/home.htmlto handle Single Page Application (SPA) redirects for GitHub Pages.Content Cleanup:
_posts/2025-06-08-remote-development-environment.mdand_posts/2025-06-09-welcome-to-devnomadic.md. [1] [2]Miscellaneous:
test-deployment-albatross.txtandtest-preview.txt) for deployment and preview functionality validation. [1] [2]