Skip to content

Fix inputs in the deploy workflow #2634

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

Merged
merged 3 commits into from
May 14, 2025
Merged

Conversation

oraNod
Copy link
Contributor

@oraNod oraNod commented May 14, 2025

I noticed that the scheduled jobs to deploy the latest build were failing because the branch was not getting set properly. This PR fixes that issue with the following changes:

  • Use inputs instead of github.event.inputs. The reusable workflows with workflow_call need to access inputs through the inputs context.
  • Remove the TARGET env and use inputs.deployment-environment directly.
  • Also simplified the step to create a norobots.txt file when deploying to test.

@oraNod oraNod added doc builds Relates to building the documentation no_backport This PR should not be backported. devel only. labels May 14, 2025
@samccann samccann merged commit cda1b87 into ansible:devel May 14, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc builds Relates to building the documentation no_backport This PR should not be backported. devel only.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants