Skip to content

Commit

Permalink
HotFix #455, Resolve invalid workflow error for build-documentation.yml
Browse files Browse the repository at this point in the history
- Remove "checkout" option from build-documentation.yml in both cFS
bundle and cFE repos.
- Change do_not_skip to pull_request
- Make job names more descriptive
  • Loading branch information
astrogeco committed Apr 19, 2022
1 parent 8ceddd5 commit 06f5ce8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
do_not_skip: '["push", "workflow_dispatch", "schedule"]'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

build-doc:
needs: checks-for-duplicates
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
with:
concurrent_skipping: 'same_content'
skip_after_successful_duplicate: 'true'
do_not_skip: '["push", "workflow_dispatch", "schedule"]'
do_not_skip: '["pull_request", "workflow_dispatch", "schedule"]'

checkout-and-cache:
name: Custom checkout and cache for cFS documents
Expand All @@ -41,12 +41,11 @@ jobs:

build-cfs-documentation:
needs: checkout-and-cache
name: Build and deploy cFS documents
name: Build cFS documents
uses: nasa/cFS/.github/workflows/build-deploy-doc.yml@main
with:
target: "[\"cfe-usersguide\", \"osal-apiguide\", \"mission-doc\"]"
cache-key: cfs-doc-${{ github.run_number }}
checkout: false
cache-key: cfs-doc-${{ github.run_number }}
deploy: false

deploy-documentation:
Expand Down
2 changes: 1 addition & 1 deletion cfe

0 comments on commit 06f5ce8

Please sign in to comment.