-
Notifications
You must be signed in to change notification settings - Fork 16
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
feat: add Github Actions #31
Conversation
NEXT_PUBLIC_DISPLAY_TESTING_MESSAGES=APP_NEXT_PUBLIC_DISPLAY_TESTING_MESSAGES \ | ||
npm run build | ||
|
||
ARG NEXT_PUBLIC_MEMPOOL_API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to name the args the same way as the env variables? For example, why not just MEMPOOL_API
for this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the difference with & without next
prefix? seems optional for me. the only benefit that i see to make it without prefix is that it turn it into a implementation neutral env variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used NEXT_PUBLIC_*
for ARGS to match with the .env.example for consistency
c27af61
to
d6fd426
Compare
.github/workflows/publish.yaml
Outdated
# - 'main' | ||
# - 'dev' | ||
# tags: | ||
# - '*' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need those comments? What's the final form of this section?
.github/workflows/publish.yaml
Outdated
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
environment: [devnet, staging, mainnet] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about testnet?
.github/workflows/publish.yaml
Outdated
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
environment: [devnet, staging, mainnet] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
.github/workflows/publish.yaml
Outdated
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
environment: [devnet, staging, mainnet] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
I will close this as it's better to merge to main |
No description provided.