We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93a791d commit 4fd1ec5Copy full SHA for 4fd1ec5
.github/workflows/deploy_docs_to_github_pages.yml
@@ -38,13 +38,13 @@ jobs:
38
- name: Detect package manager
39
id: detect-package-manager
40
run: |
41
- if [ -f "${{ github.workspace }}/yarn.lock" ]; then
+ if [ -f "${{ github.workspace }}/${{ env.BUILD_PATH }}/yarn.lock" ]; then
42
echo "manager=yarn" >> $GITHUB_OUTPUT
43
echo "command=install" >> $GITHUB_OUTPUT
44
echo "runner=yarn" >> $GITHUB_OUTPUT
45
echo "lockfile=yarn.lock" >> $GITHUB_OUTPUT
46
exit 0
47
- elif [ -f "${{ github.workspace }}/package.json" ]; then
+ elif [ -f "${{ github.workspace }}/${{ env.BUILD_PATH }}/package.json" ]; then
48
echo "manager=npm" >> $GITHUB_OUTPUT
49
echo "command=ci" >> $GITHUB_OUTPUT
50
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
0 commit comments