-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tutorial deployment process #1154
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I realised we can test this out by dispatching from this branch
Eric-Arellano
approved these changes
Apr 15, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Apr 23, 2024
I thought I'd tested this in #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
added a commit
to frankharkins/documentation
that referenced
this pull request
Jul 22, 2024
Adds a workflow to deploy tutorials from `main`, and documentation on how to do it. This PR also switches to using environment secrets rather than actions secrets, which should be more secure as we can limit who can run them and which branches they can run on. See https://github.com/Qiskit/documentation/actions/runs/8647825547/job/23710189504 for an example of the action using the staging environment. --------- Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
frankharkins
added a commit
to frankharkins/documentation
that referenced
this pull request
Jul 22, 2024
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)).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a workflow to deploy tutorials from
main
, and documentation on how to do it. This PR also switches to using environment secrets rather than actions secrets, which should be more secure as we can limit who can run them and which branches they can run on. See https://github.com/Qiskit/documentation/actions/runs/8647825547/job/23710189504 for an example of the action using the staging environment.