Skip to content

Renovate outdated cf-pages.yml GitHub Action workflow#16

Merged
reorx merged 2 commits intomasterfrom
copilot/fix-15
Jul 16, 2025
Merged

Renovate outdated cf-pages.yml GitHub Action workflow#16
reorx merged 2 commits intomasterfrom
copilot/fix-15

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jul 16, 2025

The cf-pages.yml workflow was created about 3 years ago and contained several outdated components. This PR brings it up to modern GitHub Actions standards by aligning it with the patterns used in the newly created build-html.yml workflow.

Changes Made

Updated GitHub Actions versions:

  • actions/checkout@v3actions/checkout@v4
  • actions/setup-node@v3actions/setup-node@v4

Updated runtime environment:

  • ubuntu-20.04ubuntu-latest
  • Node.js version 1618

Improved step naming:

  • Added descriptive names to all workflow steps following modern conventions
  • run: npm install- name: Install dependencies
  • run: npm run build-site- name: Build site

What Was Preserved

As requested, the Cloudflare Pages deployment section was left untouched:

  • cloudflare/pages-action@v1 usage maintained
  • All secrets and configuration preserved
  • Directory structure and deployment settings unchanged

Verification

  • ✅ Build process tested locally with Node.js 18
  • ✅ Output directory structure remains compatible with Cloudflare Pages
  • ✅ No breaking changes to existing deployment workflow
  • ✅ All modernizations follow current GitHub Actions best practices

The workflow is now aligned with modern standards while maintaining full backward compatibility with the existing Cloudflare Pages deployment.

Fixes #15.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Co-authored-by: reorx <405972+reorx@users.noreply.github.com>
Copilot AI changed the title [WIP] Renovate outdated cf-pages.yml actioin Renovate outdated cf-pages.yml GitHub Action workflow Jul 16, 2025
Copilot AI requested a review from reorx July 16, 2025 14:05
Copilot finished work on behalf of reorx July 16, 2025 14:05
@reorx reorx marked this pull request as ready for review July 16, 2025 14:06
@reorx reorx merged commit 0c5fe69 into master Jul 16, 2025
1 check 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.

Renovate outdated cf-pages.yml actioin

2 participants