From f93d223d0c314b81be898de60f01f9a5b5fc25c1 Mon Sep 17 00:00:00 2001 From: Kazumi Inada Date: Mon, 20 Nov 2023 13:57:12 +0900 Subject: [PATCH] chore: Copy schema files to deploymeent source --- .github/workflows/swagger-ui.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swagger-ui.yml b/.github/workflows/swagger-ui.yml index 7b57ac9..8fd4ff0 100644 --- a/.github/workflows/swagger-ui.yml +++ b/.github/workflows/swagger-ui.yml @@ -2,7 +2,7 @@ name: Swagger UI on: push: - branches: [ "dev" ] + branches: ["dev"] jobs: build: @@ -16,6 +16,8 @@ jobs: with: output: swagger-ui spec-file: src/openapi.yaml + - name: Copy schema files + run: cp -r src/components src/paths swagger-ui - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: