summaryrefslogtreecommitdiff
path: root/docs/source/_static
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2021-01-19 10:42:25 -0500
committerChris Evich <cevich@redhat.com>2021-01-21 10:26:57 -0500
commit4e4d318b710a9787e404d5edb4f418884c1cf786 (patch)
tree9707c6beb9f9542f8574fe804f51f74ff2bb03eb /docs/source/_static
parent7d297ddbdabe81b94184f2b2fe095f42389ddfa6 (diff)
downloadpodman-4e4d318b710a9787e404d5edb4f418884c1cf786.tar.gz
podman-4e4d318b710a9787e404d5edb4f418884c1cf786.tar.bz2
podman-4e4d318b710a9787e404d5edb4f418884c1cf786.zip
Cirrus: Upload swagger YAML in every context
The podman documentation site uses javascript to display API documentation at: http://docs.podman.io/en/latest/Reference.html As input, the javascript sources from a CORS-enabled Google Cloud Storage object. This commit ensures the storage object is present and updated for every Cirrus-CI execution context: Tags, Branches, and PRs. As of this commit, the documentation site only utilizes the object uploaded by the Cirrus-CI run on the `master` branch: `swagger-master.yaml`. The file produced and uploaded due to a PR is intended for testing purposes: Confirm it's generation and uploading are both functional. Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'docs/source/_static')
-rw-r--r--docs/source/_static/api.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/_static/api.html b/docs/source/_static/api.html
index 11fbb85a0..fbc945d87 100644
--- a/docs/source/_static/api.html
+++ b/docs/source/_static/api.html
@@ -18,7 +18,7 @@
</style>
</head>
<body>
- <redoc spec-url='https://storage.googleapis.com/libpod-master-releases/swagger-latest-master.yaml' sort-props-alphabetically></redoc>
+ <redoc spec-url='https://storage.googleapis.com/libpod-master-releases/swagger-latest.yaml' sort-props-alphabetically></redoc>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
</body>
</html>