Skip to content

chore: make deploy workflow generic#1

Merged
itinsecurity merged 1 commit intomainfrom
chore/generic-deploy-workflow
Mar 25, 2026
Merged

chore: make deploy workflow generic#1
itinsecurity merged 1 commit intomainfrom
chore/generic-deploy-workflow

Conversation

@itinsecurity
Copy link
Copy Markdown
Owner

Summary

  • Replace hardcoded repo references in the deploy workflow with GitHub Actions context expressions so the workflow works for any fork without manual edits
  • VITE_BASE_PATH now derived from github.event.repository.name
  • VITE_REPO_URL now derived from github.repository
  • DEPLOY_REMOTE built from github.repository and passed as env var, so package.json contains no hardcoded owner/repo
  • Remove the unused homepage field from package.json (Vite ignores it; base path is controlled by VITE_BASE_PATH)

Test plan

  • Merge and confirm the GitHub Actions deploy job completes successfully
  • Confirm the deployed site loads at https://itinsecurity.github.io/FlowState-TM/
  • Confirm any repo links in the app UI point to https://github.com/itinsecurity/FlowState-TM

🤖 Generated with Claude Code

Replace hardcoded bjornarfl/FlowState-TM references with GitHub Actions
context expressions so the workflow works for any fork without manual edits.
- VITE_BASE_PATH and VITE_REPO_URL now derived from github.repository
- DEPLOY_REMOTE built from github.repository so package.json has no owner reference
- Remove unused homepage field from package.json

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@itinsecurity itinsecurity merged commit 8fb405b into main Mar 25, 2026
4 checks 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.

1 participant