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

Fix #331, Skip deploy job instead of step #332

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

astrogeco
Copy link
Contributor

@astrogeco astrogeco commented Aug 6, 2021

Checklist (Please check before submitting)

Describe the contribution
Fix #331

Testing performed
Pushed to fork and check job skip in actions

Expected behavior changes
The Build Documentation workflow's deploy-usersguiude and deploy-osalguide jobs are skipped, see https://github.com/nasa/cFS/actions/runs/1106554863

System(s) tested on
GitHub CI

Additional context
None

@astrogeco astrogeco changed the title 331 skip deploy job Fix #331, Skip deploy job instead of step Aug 6, 2021
Moves the branch push check conditional "up" in the documentation build
workflow. The check now happens at the deploy job level instead of the
deploy step step for both the deploy-usersguide and deploy-osalguide.

This saves time by preventing loading extra VMs in pull requests and
other repository push events.
@astrogeco astrogeco changed the base branch from main to integration-candidate August 11, 2021 01:55
@astrogeco astrogeco merged commit 945dead into nasa:integration-candidate Aug 11, 2021
@astrogeco astrogeco added CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) continuous-integration and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Skip documentation deploy job instead of step when not pushing to main
2 participants