Skip to content

Commit

Permalink
gh-pages yml updated
Browse files Browse the repository at this point in the history
  • Loading branch information
PunitSoniME committed Jul 29, 2024
1 parent def9ade commit 0869223
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
uses: actions/checkout@v4

- name: Install Packages
run: yarn install && cd example && yarn install && yarn run build && cd ..
run: yarn install && cd example && yarn install && yarn run build && cd dist

- name: Publish current workdir (which contains generated content) to GitHub Pages
run: echo "switched `pwd`"
uses: rayluo/github-pages-overwriter@v1.3

with:
Expand All @@ -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.
Expand Down

0 comments on commit 0869223

Please sign in to comment.