Skip to content

Preview/albatross#2

Merged
devnomadic merged 16 commits into
masterfrom
preview/albatross
Jun 10, 2025
Merged

Preview/albatross#2
devnomadic merged 16 commits into
masterfrom
preview/albatross

Conversation

@devnomadic

@devnomadic devnomadic commented Jun 10, 2025

Copy link
Copy Markdown
Owner

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:

  • Renamed .github/workflows/github-pages.yml to .github/workflows/pages.yml and streamlined the build process by removing unnecessary steps like Setup Pages. [1] [2]
  • Removed the custom preview-deploy.yml workflow and replaced it with a new preview.yml workflow that uses the rossjrw/pr-preview-action for simplified preview deployment. [1] [2]

Configuration and SEO Enhancements:

  • Added a robots.txt file to allow/disallow specific paths for web crawlers and included the sitemap location for improved SEO.
  • Removed the CNAME file, likely to avoid domain conflicts during preview deployments.

Frontend and SPA Compatibility:

  • Added a script to _layouts/home.html to handle Single Page Application (SPA) redirects for GitHub Pages.

Content Cleanup:

  • Removed placeholder text from blog posts in _posts/2025-06-08-remote-development-environment.md and _posts/2025-06-09-welcome-to-devnomadic.md. [1] [2]

Miscellaneous:

  • Added test files (test-deployment-albatross.txt and test-preview.txt) for deployment and preview functionality validation. [1] [2]

- 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
@github-actions

github-actions Bot commented Jun 10, 2025

Copy link
Copy Markdown
PR Preview Action v1.6.1
Preview removed because the pull request was closed.
2025-06-10 06:25 UTC

@devnomadic devnomadic merged commit b14b3d2 into master Jun 10, 2025
3 checks passed
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.

1 participant