-
Notifications
You must be signed in to change notification settings - Fork 4
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
Automated deploys via workflows #16
Conversation
Now, the required workflows are done. After merging this, dmX repo should be configured to be deployed using GitHub Pages from a source branch. In this case: |
Also, I think we should configure when to run the workflows. Commonly, first-time contributors should request workflows to be run by repo owners. More about this here |
https://github.com/key4hep/dmx/pull/16/checks#step:3:164 Is this authentication error because your tokens don't have enough rights? |
I would think so. I think that these workflows would run successfully only if these changes are merged. Until then, they would fail. However, I'll check more about this. |
After checking out some documentation, I think that for this workflow to work, we need to activate read and write permissions as explained here |
I will merge this. As far as I can see all the permissions should be OK and I would like to see if this is related to not having this in the repo yet. |
So the preview didn't get fixed, I think (at least not for your PRs) |
BEGINRELEASENOTES
gh-pages
. (dmX should be configured to be deployed under this branch)This works as follows:
static.yml
: This will be used to deploy a stable version of dmX to GitHub Pages.preview.yml
: Workflow to deploy dmX versions from PR's. That means that when opening, closing, etc, a PR, will be created a GitHub Page with that version in order to visualize the changes.development.yml
: Workflow that would work with a hypotheticbeta
branch to deploy early/testing versions of dmX.These workflows can also be used for #15, where some testing should run on merges/pr's.
ENDRELEASENOTES