Replies: 2 comments 1 reply
-
After a little research, I realised it's possible to trigger workflows via a manual trigger in the UI. on:
workflow_dispatch: # Manual trigger I think this is a better solution so I'm going to go with that for the time being ... |
Beta Was this translation helpful? Give feedback.
0 replies
-
My initial understanding was, that you need to ignore some specific tags, so that you get a nice version numbers instead of "docs". Might be doable. We need to come up with a different configuration thought, as input tasks can't accept arguments. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a mill project, for which I would like manual control of doc publishing - i.e. only publish the docs on some manual trigger.
My initial instinct was to have a "doc" tag in a similar vein to "v0.0.1" tags, and have the CI filter for when it's found. However, this messes with the vcsVersion plugin (it detects "doc" as the last tag, because it is the last tag). Before I go and invent something dumb, has anyone thought this one through before :-)... ?
If you feel this could indeed belong in the plugin, I would try to PR it.
I had a think on what that could look like. I could imagine changing the signature of
def vcsState: Input[VcsState] = T.input { calcVcsState(T.log) }
to something like
But I don't really want to mess with the core parts of the plugin too much, so I'd be hesitant.
The other idea, would be to introduce a new task - something like
Do you think either of these could be viable?
Beta Was this translation helpful? Give feedback.
All reactions