Skip to content

Commit

Permalink
ci: fix variable references in documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed May 19, 2024
1 parent d069c7f commit d3c129f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ jobs:
- name: Build Swagger UI
run: |
mkdir -p ./www/api-docs/
wget -O /tmp/swagger.tar.gz https://github.com/swagger-api/swagger-ui/archive/refs/tags/v${env.SWAGGER_UI_VERSION}.tar.gz
wget -O /tmp/swagger.tar.gz https://github.com/swagger-api/swagger-ui/archive/refs/tags/v${{ env.SWAGGER_UI_VERSION }}.tar.gz
tar -xzf /tmp/swagger.tar.gz -C /tmp/
cp -r /tmp/swagger-ui-${env.SWAGGER_UI_VERSION}/dist/* ./www/api-docs/
cp -r /tmp/swagger-ui-${{ env.SWAGGER_UI_VERSION }}/dist/* ./www/api-docs/
cp openapi.json ./www/api-docs/openapi.json
echo 'window.onload = function() {
window.ui = SwaggerUIBundle({
Expand Down

0 comments on commit d3c129f

Please sign in to comment.