Skip to content

Conversation

@alexagillman
Copy link
Collaborator

@alexagillman alexagillman commented May 8, 2025

For item: https://github.com/github/spark/issues/1449. Needed for readonly preview

Copilot AI review requested due to automatic review settings May 8, 2025 15:16
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a Codespaces onStopCommand to the dev container configuration so that a deploy script runs with REVISION_NAME='spark-preview' before the Codespace shuts down, enabling readonly preview behavior.

  • Introduces a new customizations.codespaces.onStopCommand entry in .devcontainer/devcontainer.json
  • Sets an environment variable and invokes /usr/local/bin/deploy.sh on stop
  • Ensures the command is only triggered within GitHub Codespaces

@alexagillman alexagillman merged commit f2d98be into main May 12, 2025
7 checks passed
@alexagillman alexagillman deleted the alexagillman-onstopcommand branch May 12, 2025 15:15
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.

5 participants