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 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 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.yml
andgithub/workflows/validate-draft.yml
. Open the files and modify the value of the keyquest-editor-user-email
to 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