-
Notifications
You must be signed in to change notification settings - Fork 5
chore: use generic ubiquity .github/workflows/deploy.yml workflow #3
chore: use generic ubiquity .github/workflows/deploy.yml workflow #3
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.
I think you're supposed to use this workflow according to the original issue
Aha! This is why I was struggling to run this on my fork, thank you! |
After initial analysis I see that since this generic workflow is located outside of the repositories, the logger app could potentially indeed use it. The workflow seems to download build artifact which is available for ubiquibot only as well. @whilefoo @rndquu do you happen to know how was the logger app deployed before? I assumed it used https://github.com/ubiquity/ubiquibot/blob/development/.github/workflows/deploy-logger-page.yml therefore I copied it over here. We can implement either solution, just wanted to check the right way to do this. Solution 1) use https://github.com/ubiquity/ubiquibot/blob/development/.github/workflows/deploy-logger-page.yml (and test that it actually works here as I am quite sure cd ./log-app && npm install && npm run build does not work because or solution 2) use the generic workflow and configure build artifacts. For solution 2) it would be great if you provided link to previous runs (if any) as https://github.com/ubiquity/.github/actions/workflows/deploy.yml says it has never been used before. |
This generic workflow can be used from any public repository across the whole github regardless of the organization the original (i.e. generic) workflow belongs to.
I don't actually remember whether the logger app has ever been deployed to one of our servers (i.e. netlify instances).
We should use the generic workflow.
We use it at least for pay.ubq.fi (example). |
Great, thank you @rndquu for clarifications. |
Resolves: #712
@whilefoo @rndquu I updated the pull request to use generic workflow and opened a follow-up ticket #4 to create the build workflow. It would be best to assign the new issue to the app creator or somebody who already deployed the app. There are esbuild bundler configuration files in the |
Could you:
I will setup everything else regarding the deployment to cloudflare pages because (as far as I understand) it requires access to the ubiquity's cloudflare dashboard. |
@rndquu all right, I will take care of this. |
Thank you |
Right now the logger app is deployed to cloudflare pages. We still need to:
|
Resolves: #712