From 3372a26e2590cd4a6b44544c07a81da36251b122 Mon Sep 17 00:00:00 2001 From: mario4tier Date: Sun, 25 Aug 2024 20:41:05 -0400 Subject: [PATCH] Add path to package.json for website. --- .github/workflows/deploy-docs.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index a341ae4..7299e31 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -39,16 +39,17 @@ jobs: with: python-version: '3.x' + - name: Copy pnpm dependency files + run: | + cp -f $GITHUB_WORKSPACE/docs/ci/pnpm-lock.yaml.ci $GITHUB_WORKSPACE/docs/pnpm-lock.yaml + cp -f $GITHUB_WORKSPACE/docs/ci/package.json.ci $GITHUB_WORKSPACE/docs/package.json + - name: Install pnpm uses: pnpm/action-setup@v4 with: version: 'latest' run_install: false - - - name: Copy pnpm dependency files - run: | - cp -f $GITHUB_WORKSPACE/docs/ci/pnpm-lock.yaml.ci $GITHUB_WORKSPACE/docs/pnpm-lock.yaml - cp -f $GITHUB_WORKSPACE/docs/ci/package.json.ci $GITHUB_WORKSPACE/docs/package.json + package_json_file: 'docs/package.json' - name: Setup Node.js uses: actions/setup-node@v4