From ebda6643c110d8d6472df48afde223427b3caf05 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Sat, 16 Mar 2024 19:45:52 +0300 Subject: [PATCH] fix gh pages drop files that prefixed with underscore --- .github/workflows/deploy_github_pages.yaml | 4 ++++ web_frontend/gh_pages_config.yml | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 web_frontend/gh_pages_config.yml diff --git a/.github/workflows/deploy_github_pages.yaml b/.github/workflows/deploy_github_pages.yaml index 385deab..2dfab27 100644 --- a/.github/workflows/deploy_github_pages.yaml +++ b/.github/workflows/deploy_github_pages.yaml @@ -41,6 +41,10 @@ jobs: - name: Build project run: yarn nuxi generate + # Copy gh pages config + - name: Copy pages config + run: cp ./gh_pages_config.yml ./.output/public/_config.yml + # Deploy - name: Deploy to Github Pages 🚀 uses: JamesIves/github-pages-deploy-action@v4 diff --git a/web_frontend/gh_pages_config.yml b/web_frontend/gh_pages_config.yml new file mode 100644 index 0000000..b1ad6af --- /dev/null +++ b/web_frontend/gh_pages_config.yml @@ -0,0 +1,2 @@ +include: + - nuxt/_*