-
Notifications
You must be signed in to change notification settings - Fork 220
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 #332 from astrogeco/331-skip-deploy-job
Fix #331, Skip deploy job instead of step
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 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 |
---|---|---|
|
@@ -153,11 +153,10 @@ jobs: | |
key: usersguide-buildnum-${{ github.run_number }} | ||
|
||
deploy-usersguide: | ||
needs: build-usersguide | ||
# Name the Job | ||
name: Deploy Users Guide | ||
# Set the type of machine to run on | ||
runs-on: ubuntu-18.04 | ||
needs: build-usersguide | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
|
||
steps: | ||
- name: Cache cFS Build Environment for usersguide | ||
|
@@ -258,6 +257,7 @@ jobs: | |
needs: build-osalguide | ||
name: Deploy Osal Guide | ||
runs-on: ubuntu-18.04 | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
|
||
steps: | ||
- name: Cache cFS Build Environment for osalguide | ||
|
@@ -268,11 +268,11 @@ jobs: | |
key: osalguide-buildnum-${{ github.run_number }} | ||
|
||
- name: Deploy to GitHub | ||
if: ${{ github.event_name == 'push' && contains(github.ref, 'main')}} | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: deploy | ||
CLEAN: false | ||
SINGLE_COMMIT: true | ||
|