-
Notifications
You must be signed in to change notification settings - Fork 2
Add dual network deployment. filcdn/roadmap#16 #29
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
Conversation
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.
Looks great!
We need to use app-specific token for deploying to Fly.io, see #27 and |
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.
Looks mostly good 👍🏻
needs: [test] | ||
strategy: | ||
matrix: | ||
network: [calibration, 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.
I believe this line is not needed if you use the include
block. I think with this line, you will get 4 jobs - two jobs with no FLY_API_TOKEN_NAME (created from the network
matrix field) and two jobs from the include
block.
network: [calibration, 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.
This is not how I understand it: https://docs.github.com/en/actions/how-tos/write-workflows/choose-what-workflows-do/run-job-variations#adding-a-matrix-strategy-to-your-workflow-job
I will watch the deployment and adjust if needed
For filbeam/roadmap#16