Skip to content
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

Improve deploy workflow by use deploy directory from workflow dispatch input #477

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

Czaki
Copy link
Contributor

@Czaki Czaki commented Aug 12, 2024

References and relevant issues

Description

As convictional/trigger-workflow-and-wait do not pass proper reference to workflow, this PR changed to use workflow dispatch input. This will allow triggering deploy docs manually to a given directory without the need to create a tag.

@Czaki Czaki added the maintenance CI, dependencies, and other maintenance label Aug 12, 2024
@github-actions github-actions bot added the task label Aug 12, 2024
target_directory:
description: 'The directory to deploy the docs to'
required: true
default: 'dev'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Czaki one question here — what happens when you trigger manually? You get a small text field to fill in?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. You may play with the benchmark workflow on the main repo.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat! ❤️

@Czaki Czaki added this to the 0.5.3 milestone Aug 13, 2024
Copy link
Member

@melissawm melissawm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting! Thanks @Czaki !

@melissawm
Copy link
Member

I think this is ready to go, starting the clock if there are no objections.

@jni jni merged commit c503a19 into napari:main Aug 29, 2024
10 checks passed
jni pushed a commit to napari/napari that referenced this pull request Aug 29, 2024
# References and relevant issues
requires napari/docs#477

# Description

Calculate deploy directory based on ref and pass it to called workflow
using inputs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance CI, dependencies, and other maintenance task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants