Add a "docs" test to PR runner
Scripts are rendered in the workflows docs, and these scripts can be run together to ensure that the instructions are correct.
2 full workflow scripts test sync-publish (docs/_scripts/destructive_check_sync_publish.sh) and upload-publish (docs/_scripts/destructive_check_upload_publish.sh). Both of these scripts should execute without errors to pass the docs test.
This task has 3 components:
- Add docs test to PR runner (like https://github.com/pulp/pulpcore/blob/master/.travis/script.sh#L28-L34)
- Execute the scripts 2 full workflow scripts
- Modify bash scripts to include exit codes so failures are obvious