Closed gobengo closed 2 years ago
I devved this without a PR because the CD only is triggered by main branch.
Here is the workflow: https://github.com/ipfs-elastic-provider/metrics-collector/blob/main/.github/workflows/cloudflare-workers.yml
New commits to main are published to https://indexer-metrics-collector.protocol-labs.workers.dev/ I used github actions environments, so this is discoverable from the repo homepage (right sidebar 'Environments') -> https://github.com/ipfs-elastic-provider/metrics-collector/deployments
Context
I deployed a to cloudflare workers on my own personal account: https://indexer-metrics-collector.bengo.workers.dev/ I did this via
(cd src/indexer-metrics-collector && npx wrangler publish)
.But we will want to run this under a group account, and probably with some automated deployments from github actions on this repo.
It might might make sense to use this wrangler github action.