Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Woolim Park committed Nov 13, 2023
1 parent 653c0e4 commit bc7f13e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-page-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
run: yarn story:build
- name: Deploy
run: yarn story:deploy
with:
folder: ./histoire/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 1 addition & 2 deletions scripts/github-page-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import { execa } from "execa";
await execa("git", ["checkout", "--orphan", "gh-pages"]);
// eslint-disable-next-line no-console
console.log("Building started...");
await execa("npm", ["run", "build"]);
// await execa("yarn", ["build"]);
await execa("yarn", ["story:build"]);
// Understand if it's dist or build folder
const folderName = ".histoire/dist";
await execa("git", ["--work-tree", folderName, "add", "--all"]);
Expand Down

0 comments on commit bc7f13e

Please sign in to comment.