Skip to content

GitHub Setup

Repository

URL: github.com/Sema-Link/semalink-frontend

Branch Strategy

BranchPurposeTriggers Deploy
mainPrimary development branch — all PRs merge hereNo
stagingInternal QA and pre-release testingdeploy-staging.yml
testExternal testing / client previewsdeploy-test.yml
prodLive productiondeploy-prod.yml

GitHub Environments

Each deployment environment is isolated using GitHub Environments (Settings → Environments). Secrets inside an environment are only available to workflows that declare environment: <name> — so production secrets are never accessible during a staging build.

Environments configured

  • staging
  • test
  • prod

Each holds 6 secrets — see Secrets Reference for the full list.

Secret values are write-only

Once saved in GitHub, secret values cannot be read back. Keep a record of all credentials in your team's password manager. To rotate, generate a new credential from the source and overwrite the secret.

Workflow Files

Three workflow files live in .github/workflows/:

FileTriggerEnvironmentCF Pages Project
deploy-staging.ymlPush to staging or manualstagingsemalink-app-staging
deploy-test.ymlPush to test or manualtestsemalink-app-test
deploy-prod.ymlPush to prod or manualprodsemalink-app

All three support workflow_dispatch — any developer with repo access can manually trigger from GitHub → Actions → Run workflow.

Internal use only — Sema Link Engineering