Skip to content

Commit

Permalink
cicd: update actions to use native conditional
Browse files Browse the repository at this point in the history
This was added in a recent GitHub Runner release.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Nov 11, 2021
1 parent c65579f commit 3399a75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 40 deletions.
30 changes: 0 additions & 30 deletions .github/actions/conditional/action.yml

This file was deleted.

15 changes: 5 additions & 10 deletions .github/actions/documentation/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,9 @@ runs:
else
exec mdbook build --dest-dir "./book/${d}"
fi
- uses: ./.github/actions/conditional
- if: ${{ inputs.publish == 'true' }}
uses: peaceiris/actions-gh-pages@v3.8.0
with:
if: ${{ inputs.publish }}
step: |
- uses: peaceiris/actions-gh-pages@v3
with:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ inputs.token }}
publish_dir: ./book
keep_files: true
github_token: ${{ inputs.token }}
publish_dir: ./book
keep_files: true

0 comments on commit 3399a75

Please sign in to comment.