Skip to content

ci: migrate to pure ghactions deploy; harden runner#2049

Merged
achrinza merged 2 commits into
gh-pagesfrom
ci/migrate-to-pure-ghactions-deploy
Jul 9, 2026
Merged

ci: migrate to pure ghactions deploy; harden runner#2049
achrinza merged 2 commits into
gh-pagesfrom
ci/migrate-to-pure-ghactions-deploy

Conversation

@achrinza

@achrinza achrinza commented Jul 8, 2026

Copy link
Copy Markdown
Member

Summary

This moves away from the compatibility setup which simulates Pages Legacy Worker workflow.

This simplifies the setup, since it's no longer pegged to old dependencies via the github-pages gem.

Feature-wise is the same; The compat layer still ends up using to the same GitHub Actions-style deployment strategy anyways.

Furthermore, we can remove dependency on the external GitHub Action with long-lived SSH credentials.

This also hardens the runner.

Testing

These changes have been tested on a fork: achrinzafork@ce0098d, with a slight deviation of adding rubygems.org:443 into allowed-endpoints for Ruby cache misses.

Before Merging

  • Reconfigure GitHub Pages deployment method to from Deploy from a branch to GitHub Actions

    If we don't change this, GitHub will auto-deploy a workflow alongside this workflow, and the last one to complete will override the first one.

After merging

closes: #2048
see: loopbackio/security#26

achrinza added 2 commits July 9, 2026 13:28
This moves away from the compatibility setup which simulates Pages Legacy Worker workflow.

This simplifies the setup, since the compat layer still converges to the same deployment strategy.

Furthermore, we can remove dependency on the external GH Action with long-lived SSH credentials

closes: #2048
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
see: loopbackio/security#26
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
@achrinza achrinza force-pushed the ci/migrate-to-pure-ghactions-deploy branch from b3d0afa to f0b2ef4 Compare July 9, 2026 05:28
@achrinza achrinza merged commit 550e074 into gh-pages Jul 9, 2026
2 checks passed
@achrinza achrinza deleted the ci/migrate-to-pure-ghactions-deploy branch July 9, 2026 05:35
@achrinza

achrinza commented Jul 9, 2026

Copy link
Copy Markdown
Member Author
  • GitHub Pages deployment method has been changed to GitHub Actions
  • DEPLOY_KEY has been removed and revoked.

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.

Migrate away from github-pages gem

1 participant