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 02079f4 commit def9ade
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ jobs:
uses: actions/checkout@v4

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

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

with:

Expand All @@ -32,7 +31,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: .
source-directory: example/dist

# Optional. Default value "gh-pages".
# It specifies the temporary branch which hosts the static website.
Expand Down

0 comments on commit def9ade

Please sign in to comment.