Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Dec 10, 2024
1 parent 90e3e0c commit dd24290
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/deploy-signals-example-to-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ jobs:
restore-keys: |
${{ runner.os }}-turbo-
- run: yarn turbo run --filter='./packages/signals/signals-example...' build
- name: Building App
run: yarn build
- name: Deploy with gh-pages
working-directory: packages/signals/signals-example
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npx gh-pages -d build -u "github-actions-bot <[email protected]>"
yarn deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
working-directory: packages/signals/signals-example
6 changes: 4 additions & 2 deletions packages/signals/signals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"eslint": "yarn run -T eslint",
"concurrently": "yarn run -T concurrently",
"jest": "yarn run -T jest",
"webpack": "yarn run -T webpack"
"webpack": "yarn run -T webpack",
"deploy": "gh-pages -d dist -s public/index.html"
},
"dependencies": {
"@segment/analytics-generic-utils": "1.2.0",
Expand All @@ -60,6 +61,7 @@
"@internal/config-webpack": "workspace:^",
"@internal/test-helpers": "workspace:^",
"fake-indexeddb": "^6.0.0",
"node-fetch": "^2.6.7"
"node-fetch": "^2.6.7",
"gh-pages": "^4.0.0"
}
}

0 comments on commit dd24290

Please sign in to comment.