Modify GH Actions YML

This commit is contained in:
Buster "Silver Eagle" Neece 2021-10-23 17:20:38 -05:00
parent f815fb0119
commit 0c08bf8e44
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
1 changed files with 1 additions and 3 deletions

View File

@ -155,9 +155,7 @@ jobs:
name: Push API Docs
needs: build
runs-on: ubuntu-latest
if: |
github.event_name == 'push' || github.event_name == 'schedule'
endsWith(github.ref, github.event.repository.default_branch)
if: (github.event_name == 'push' || github.event_name == 'schedule') && endsWith(github.ref, github.event.repository.default_branch)
env:
REDOCLY_AUTHORIZATION: ${{ secrets.REDOCLY_AUTHORIZATION }}
steps: