Add GitHub Actions CI/CD pipeline for AlwaysData deployment - #51
Merged
Conversation
- CI: unit tests, production build, API integration, Playwright E2E - Deploy: rsync backend (with node_modules) and frontend dist over SSH - Preserve server-side back/.env and back/.htaccess during deploy - Restart Node.js site via AlwaysData API after backend deploy - Add front/public/.htaccess for SPA routing (API proxy commented) - Add CI-friendly MariaDB setup scripts for GitHub Actions service container Co-authored-by: Benjamin Caure <bcaure@users.noreply.github.com>
Co-authored-by: Benjamin Caure <bcaure@users.noreply.github.com>
- Keep only .env and .htaccess excludes (server-side files that exist) - Remove setup-ci-db.sh and restore reset-test-db.sh to local-only version Co-authored-by: Benjamin Caure <bcaure@users.noreply.github.com>
bcaure
marked this pull request as ready for review
July 19, 2026 15:44
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.
Summary
Adds a deploy-only GitHub Actions pipeline for AlwaysData via SSH/rsync.
master): build frontend, rsync backend +node_modulesand frontenddist/over SSH, restart Node.js site via AlwaysData APIKey details
back/.envandback/.htaccess(rsync excludes)front/public/.htaccessfor SPA routing (API proxy rule is commented — set your Node.js internal port)Required GitHub secrets
ALWAYSDATA_SSH_PRIVATE_KEYALWAYSDATA_SSH_USERALWAYSDATA_API_KEYALWAYSDATA_ACCOUNTALWAYSDATA_API_PASSWORDALWAYSDATA_BACKEND_SITE_IDSetup checklist
front/public/.htaccesswith your Node.js internal port