Skip to content

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.

actions: generate swagger ui for github pages (#1281)

Chinmay Pai101459f2f6ba
diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml
index 6c8e5671..4f65ffbe 100644
--- a/.github/workflows/github-pages.yml
+++ b/.github/workflows/github-pages.yml
@@ -44,6 +44,12 @@ jobs:
- name: Copy i18n site
run: cp -R docs/i18n docs/publish
+ - name: Generate Swagger UI
+ uses: Legion2/swagger-ui-action@v1
+ with:
+ spec-file: ./docs/swagger/collections.yaml
+ output: ./docs/publish/docs/swagger
+
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with: