Skip to content

Commit

Permalink
Fix tutorial deployment process (Qiskit#1222)
Browse files Browse the repository at this point in the history
I thought I'd tested this in Qiskit#1154 but I actually only tested the
uploader test workflow. I'd forgotten to pass the environment from the
input to the job.

Something which wasn't my fault is that some tutorial UUIDs seem to have
changed, I'm not sure why this is but am investigating.

With the new UUIDs, the workflow is working ([see
run](https://github.com/Qiskit/documentation/actions/runs/8798350887/job/24145159885)).
frankharkins authored Apr 23, 2024
1 parent 6dfcb5c commit a99f2f8
Showing 2 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-tutorials.yml
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@ jobs:
deploy:
name: Deploy tutorials to learning platform
runs-on: ubuntu-latest
environment: ${{ inputs.environment }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
18 changes: 9 additions & 9 deletions tutorials/learning-api.conf.yaml
Original file line number Diff line number Diff line change
@@ -3,20 +3,20 @@
# instructions on adding a new tutorial.
lessons:
- path: chsh-inequality
urlStaging: tutorials/0229e597-ac0d-4641-98c8-cb9d6bf10617
urlProduction: tutorials/d4861fee-1dc1-41b2-a5ba-671bc54b747b
urlStaging: tutorials/1e8b063e-38c3-4525-824b-e4fbb1e675f9
urlProduction: tutorials/da7dbfe7-4ae7-4889-b78d-5dfd5263fb02
- path: grovers-algorithm
urlStaging: tutorials/9b9b8eec-549a-4f20-822d-c984d0ee7b3d
urlProduction: tutorials/84dbbc7c-16b5-4aec-b142-9c349bf7a89b
urlStaging: tutorials/b593867d-8aae-4cf7-b083-325028765fbd
urlProduction: tutorials/76db794e-a4a7-466e-bd2b-d5d5950a9279
- path: quantum-approximate-optimization-algorithm
urlStaging: tutorials/63dd4f57-dda7-4a07-a9f3-c6ea4560f214
urlProduction: tutorials/20ef1afa-e86f-414d-bb40-f8f1490d531c
urlStaging: tutorials/410c2e0d-004f-427d-a145-2014bb31899e
urlProduction: tutorials/8c5868ac-d82f-4ca4-ba9d-70d3d6344e80
- path: submitting-transpiled-circuits
urlStaging: tutorials/7dd1d5f9-3b6c-4bd5-9fb9-faeb728b44b2
urlProduction: tutorials/47dad7bd-4e08-4d22-a528-02d963df9e42
urlProduction: tutorials/0f49821a-9de4-4932-a77a-ec3faf23cf55
- path: variational-quantum-eigensolver
urlStaging: tutorials/d1059d99-95c8-41e5-ba7c-9f0827d479ce
urlProduction: tutorials/62a189e9-44cc-482b-90e8-30a479f23bac
urlStaging: tutorials/ef3b922f-0f32-42a3-8e3b-dc0fc18fd34c
urlProduction: tutorials/5e01f54c-0ef4-4003-8793-d6e5717110bb
- path: repeat-until-success
urlStaging: tutorials/caacbe11-a00f-4bbc-bc8b-953cf1d75b46
urlProduction: tutorials/5d88dda9-d990-4118-9950-8216528e8c8b

0 comments on commit a99f2f8

Please sign in to comment.