From 0436a98047d217fffe831f107c1bb1a57852c088 Mon Sep 17 00:00:00 2001 From: Punit Soni Date: Mon, 29 Jul 2024 12:58:55 +0530 Subject: [PATCH] gh-pages yml updated --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index e47603d..21581a6 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -18,6 +18,7 @@ jobs: run: yarn install && cd example && yarn install && yarn run build && cd .. - name: Publish current workdir (which contains generated content) to GitHub Pages + run: cd example/dist uses: rayluo/github-pages-overwriter@v1.3 with: @@ -31,7 +32,7 @@ jobs: # Such a directory does *not* have to already exist in your repo, # it could be an output directory created dynamically # by your static website builder. - source-directory: "example/dist" + source-directory: . # Optional. Default value "gh-pages". # It specifies the temporary branch which hosts the static website.