Skip to content

Commit

Permalink
Fix typos in workflows (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
CasperWA authored May 16, 2023
1 parent 4fecab2 commit 5987a04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ jobs:
steps:
- name: Check input
run: |
if [[ "${{ inputs.docs_framework }}" != "mkdocs" || "${{ inputs.docs_framework" != "sphinx" ]]; then
if [[ "${{ inputs.docs_framework }}" != "mkdocs" || "${{ inputs.docs_framework }}" != "sphinx" ]]; then
echo "The input 'docs_framework' must be either 'mkdocs' or 'sphinx' !"
echo "Found value: ${{ inputs.docs_framework }}"
exit 1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci_cd_updated_default_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
steps:
- name: Check input
run: |
if [[ "${{ inputs.docs_framework }}" != "mkdocs" || "${{ inputs.docs_framework" != "sphinx" ]]; then
if [[ "${{ inputs.docs_framework }}" != "mkdocs" || "${{ inputs.docs_framework }}" != "sphinx" ]]; then
echo "The input 'docs_framework' must be either 'mkdocs' or 'sphinx' !"
echo "Found value: ${{ inputs.docs_framework }}"
exit 1
Expand Down Expand Up @@ -454,7 +454,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}

- name: Push to '${{ inputs.permanent_dependencies_branch }}'
if: "! inputs.test"
if: ( ! inputs.test )
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 5987a04

Please sign in to comment.