Auto-Upload Quest Drafts
To simplify the process of uploading draft versions, quest developers can configure their repo to upload an updated version after pushing new code to the main
branch.
To set up auto-upload:
- Go to the Quest Builder Utilities
- Generate a Quest Developer token by selecting the
Generate New Token
option.- Make sure to save your token because it will only be shown once.
- Add the token to the quest repo secrets:
- Open quest repo settings.
- Tap
Secrets
on the left panel and selectActions
in the drop-down. - Tap the
New Repository Secret
button. - Name the new secret
QUESTS_EDITOR_TOKEN
and copy the token to thesecret
text box.
- Add a new workflow file to the GitHub repo:
- If you used the quest template, the file is already a part of the repo and needs to be configured. The file is located in
github/workflows/upload-draft.yml
. Open the file and modify the value of the keyquest-editor-user-email
to the email address associalted with your Wilco account. - If the file is not part of your repo, download it and copy it to the
.github/workflows/
folder in your quest repo. No additional modifications to the file are required.
- If you used the quest template, the file is already a part of the repo and needs to be configured. The file is located in