Skip to content

Add GitHub Actions CI/CD pipeline for o2switch deployment#2

Open
maximejolivet wants to merge 11 commits into
masterfrom
deploy
Open

Add GitHub Actions CI/CD pipeline for o2switch deployment#2
maximejolivet wants to merge 11 commits into
masterfrom
deploy

Conversation

@maximejolivet

Copy link
Copy Markdown
Owner

Adds a CI (composer validate, phpcs, phpunit) + CD (git-pull deploy via SSH) workflow targeting o2switch shared hosting. CD triggers from a dedicated "deploy" branch rather than master, so production releases are an explicit merge/push step. settings.php now reads DB credentials from environment variables instead of hardcoded Lando values, enabling the same bootstrap file to work locally and in production. Tracks phpcs.xml so CI uses the same ruleset as local dev, and drops the unmodified settings.local.php template from version control.

maximejolivet and others added 3 commits June 22, 2026 17:05
Adds a CI (composer validate, phpcs, phpunit) + CD (git-pull deploy via
SSH) workflow targeting o2switch shared hosting. CD triggers from a
dedicated "deploy" branch rather than master, so production releases
are an explicit merge/push step. settings.php now reads DB credentials
from environment variables instead of hardcoded Lando values, enabling
the same bootstrap file to work locally and in production. Tracks
phpcs.xml so CI uses the same ruleset as local dev, and drops the
unmodified settings.local.php template from version control.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
maximejolivet and others added 2 commits June 22, 2026 20:06
ezzeze

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
test

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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