From dd24290246647d770b7e6aaba9c37b36d8249d14 Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Tue, 10 Dec 2024 15:48:26 -0600 Subject: [PATCH] wip --- .../workflows/deploy-signals-example-to-github-pages.yml | 6 ++---- packages/signals/signals/package.json | 6 ++++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-signals-example-to-github-pages.yml b/.github/workflows/deploy-signals-example-to-github-pages.yml index 71a05dbe7..2eab43f5e 100644 --- a/.github/workflows/deploy-signals-example-to-github-pages.yml +++ b/.github/workflows/deploy-signals-example-to-github-pages.yml @@ -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 " + yarn deploy env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - working-directory: packages/signals/signals-example diff --git a/packages/signals/signals/package.json b/packages/signals/signals/package.json index 10a92cf72..53f1a4dce 100644 --- a/packages/signals/signals/package.json +++ b/packages/signals/signals/package.json @@ -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", @@ -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" } }