Auto-Upload and Validate Quest Drafts
To simplify the process of validating and uploading draft versions, quest developers can configure their repo to validate the quests on prs and 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 Tokenoption.- 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
Secretson the left panel and selectActionsin the drop-down. - Tap the
New Repository Secretbutton. - Name the new secret
QUESTS_EDITOR_TOKENand copy the token to thesecrettext box.
- Add the new workflow files to the GitHub repo:
- If you used the quest template, the files are already a part of the repo and needs to be configured. The files are located in
github/workflows/upload-draft.ymlandgithub/workflows/validate-draft.yml. Open the files and modify the value of the keyquest-editor-user-emailto the email address associalted with your Wilco account. - If the file are not part of your repo, download them and copy it to the
.github/workflows/folder in your quest repo. No additional modifications to the files are required.
- If you used the quest template, the files are already a part of the repo and needs to be configured. The files are located in