Skip to content

Conversation

ofahimIQSS
Copy link
Contributor

@ofahimIQSS ofahimIQSS commented Oct 8, 2025

Summary
This change updates .github/workflows/deploy.yml to let us deploy the SPA to our internal environment in addition to qa, beta, and demo.

What changed
Added internal to workflow_dispatch.inputs.environment.options so it shows up in the manual run menu.
Added .env creation step gated by if: github.event.inputs.environment == 'internal'.
Added SCP step to copy the built WAR to the internal host.
Added SSH step to run the Payara deploy on the internal host.

Follow-ups (blocking deploy)
Create the internal environment (or repo-level) secrets used by these new steps:
INTERNAL_DATAVERSE_BACKEND_URL
INTERNAL_OIDC_CLIENT_ID
INTERNAL_OIDC_AUTHORIZATION_ENDPOINT
INTERNAL_OIDC_TOKEN_ENDPOINT
INTERNAL_OIDC_LOGOUT_ENDPOINT
INTERNAL_OIDC_STORAGE_KEY_PREFIX
INTERNAL_PAYARA_INSTANCE_HOST
INTERNAL_PAYARA_INSTANCE_USERNAME
INTERNAL_PAYARA_INSTANCE_SSH_PRIVATE_KEY

Acceptance criteria
Workflow “Run workflow” menu shows internal.
Manual run with environment=internal completes successfully.
SPA is served from the internal host at the expected base path and login works.

@ofahimIQSS ofahimIQSS added the Size: 3 A percentage of a sprint. 2.1 hours. label Oct 8, 2025
@coveralls
Copy link

coveralls commented Oct 8, 2025

Coverage Status

coverage: 98.05% (+0.8%) from 97.207%
when pulling fc31a89 on Internal-update-deploy.yml
into cd0b794 on develop.

@ChengShi-1 ChengShi-1 moved this to Ready for Review ⏩ in IQSS Dataverse Project Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Ready for Review ⏩

Development

Successfully merging this pull request may close these issues.

3 participants