-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2098 from nasa/integration-candidate
cFE Integration candidate: Caelum-rc4_dev9
- Loading branch information
Showing
11 changed files
with
309 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
checkout-and-cache: | ||
name: Custom checkout and cache for cFS documents | ||
needs: checks-for-duplicates | ||
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' }} | ||
if: ${{ needs.checks-for-duplicates.outputs.should_skip != 'true' || contains(github.ref, 'main') }} | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
@@ -53,7 +53,7 @@ jobs: | |
target: "[\"cfe-usersguide\"]" | ||
cache-key: cfs-doc-${{ github.run_number }} | ||
buildpdf: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
deploy: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
deploy: false # Note can't use cache with deploy, deploy in following job instead | ||
|
||
build-mission-doc: | ||
needs: checkout-and-cache | ||
|
@@ -65,3 +65,28 @@ jobs: | |
cache-key: cfs-doc-${{ github.run_number }} | ||
deploy: false | ||
buildpdf: false # No need for mission pdf within cFE, done at bundle level | ||
|
||
deploy-documentation: | ||
needs: build-cfe-usersguide | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
name: Deploy documentation to gh-pages | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/download-artifact@v3 | ||
|
||
- name: Display structure of downloaded files | ||
run: ls -R | ||
|
||
- name: Move pdfs to deployment directory | ||
run: mkdir deploy; mv */*.pdf deploy | ||
|
||
- name: Deploy to GitHub | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: deploy | ||
SINGLE_COMMIT: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.