Skip to content

Commit

Permalink
Fix repository_owner condition docs_deploy gha job (Qiskit#10635)
Browse files Browse the repository at this point in the history
This commit fixes an issue in the job definition for the new docs
deployment job added in Qiskit#10610. The new jobs are conditioned to only
execute from the Qiskit/qiskit-terra repo. However that line is being
flagged as a syntax error in github. This seems to be due to the double
quotes used for `"Qiskit"`. A similar condition exists on the
pre-existing github actions jobs but they use a single quote instead of
a double and they function correctly. This commit updates the condition
to used single quotes to match the working syntax in other jobs.
  • Loading branch information
mtreinish authored Aug 15, 2023
1 parent 213580d commit d25f905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
build:
if: github.repository_owner == "Qiskit"
if: github.repository_owner == 'Qiskit'
name: Build
runs-on: ubuntu-latest

Expand Down

0 comments on commit d25f905

Please sign in to comment.