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

Add deploy and release workflow to CI #376

Merged
merged 2 commits into from
Sep 1, 2023
Merged

Conversation

emccorson
Copy link
Collaborator

@emccorson emccorson commented Aug 29, 2023

This PR adds a CI workflow that can be manually run to deploy the interface to namada.me and create a GitHub release of the extension with given parameters (e.g. Namada chain ID).

I haven't been able to test the Netlify deploy part since the workflow can only be run when it is in main, so this might need fixed up after it is merged.

#352 can probably be closed when this is merged.


Added

Add deploy and release workflow to CI. Closes #357.

Removed

Remove deploy to namada.me on merge to main

@emccorson emccorson force-pushed the 357/ci-extension-assets branch 2 times, most recently from 0542dfe to a86b39f Compare August 30, 2023 02:28
@emccorson emccorson changed the title CI extension assets Add deploy and release workflow to CI Aug 30, 2023
@emccorson emccorson force-pushed the 357/ci-extension-assets branch 3 times, most recently from 1277d10 to e51c5f4 Compare August 30, 2023 02:48
@emccorson emccorson marked this pull request as ready for review August 30, 2023 02:56
on:
workflow_dispatch:
inputs:
REACT_APP_NAMADA_ALIAS:
Copy link
Collaborator

@jurevans jurevans Aug 30, 2023

Choose a reason for hiding this comment

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

Since the faucet PR was just recently merged, we could include those env vars as inputs (as we'll need the faucet address & limit set when connected to testnet):

## From .env.sample
REACT_APP_NAMADA_FAUCET_ADDRESS=atest1v4ehgw368pprgvjygv652w2yg3znvd69xucnvde3xaz5ysenx5myx3f389z5yv3nxg65xv3kx0fkez
REACT_APP_NAMADA_FAUCET_LIMIT=1000

Note that they should not be required though, as they don't apply to mainnet.

I'll open a separate PR at some point to add any IBC-related environment vars to this!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, I will add the two variables on with these defaults 👍

Copy link
Collaborator

@jurevans jurevans left a comment

Choose a reason for hiding this comment

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

This looks good!

@emccorson emccorson force-pushed the 357/ci-extension-assets branch 3 times, most recently from 9e7078f to 8c25c08 Compare August 31, 2023 08:44
@github-actions
Copy link

github-actions bot commented Aug 31, 2023

@github-actions github-actions bot temporarily deployed to pull request August 31, 2023 08:48 Inactive
@github-actions github-actions bot temporarily deployed to pull request August 31, 2023 09:42 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 1, 2023 00:54 Inactive
@github-actions github-actions bot temporarily deployed to pull request September 1, 2023 01:08 Inactive
@emccorson emccorson merged commit 4ba56fc into main Sep 1, 2023
5 checks passed
@emccorson emccorson mentioned this pull request Nov 20, 2023
@mateuszjasiuk mateuszjasiuk deleted the 357/ci-extension-assets branch September 13, 2024 09:35
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.

CI updates to deploy interface and build extension assets
3 participants