Skip to content

Commit

Permalink
make website_pat check conditional on website_repo check
Browse files Browse the repository at this point in the history
  • Loading branch information
Pxtl authored Nov 28, 2023
1 parent bc8e584 commit 9f5e7ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
"::warning file=$env.YAML_PATH::Mandatory repo variable WEBSITE_REPO is not set."
- name: Check WEBSITE_PAT secret
if: ${{ !env.IS_WEBSITE_PAT_SET }}
if: ${{ env.IS_WEBSITE_REPO_SET && !env.IS_WEBSITE_PAT_SET }}
shell: pwsh
run: |
"::error file=$env.YAML_PATH::Mandatory repo secret WEBSITE_PAT is not set."
Expand Down

0 comments on commit 9f5e7ba

Please sign in to comment.