Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create reusable workflow for preview deploys #49

Open
elliotBraem opened this issue Dec 21, 2023 · 1 comment
Open

Create reusable workflow for preview deploys #49

elliotBraem opened this issue Dec 21, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@elliotBraem
Copy link
Contributor

Bigger teams like to include preview deploys in their pull requests; this typically involves the developer deploying to a dedicated account and sharing a link -- although this can be difficult when working on multiple stories at one time (either needs a dedicated account per story, or need to rotate through the deploys depending on the order they are reviewed).

A possible solution (only in testnet) is to create github workflow that generates an implicit account via near-cli-rs, then deploys to this account and shares the preview link automatically.

@elliotBraem elliotBraem added the enhancement New feature or request label Dec 21, 2023
@elliotBraem elliotBraem moved this to Todo in bos-workspace May 2, 2024
@elliotBraem
Copy link
Contributor Author

...several months later

We can use this with the new deploy command:

bw deploy --deploy-account-id <deployAccountId> --signer-account-id <signerAccountId> --signer-public-key <signerPublicKey>" --<signerPrivateKey>

Or if we can run the dev server in a container, that would work too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant