Skip to content

Commit 3c15280

Browse files
committed
fix: use shared runner_temp path so deploy step can read action output
1 parent ae3eb9f commit 3c15280

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/analyze-customer-repo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
supermodel-api-key: ${{ secrets.SUPERMODEL_API_KEY }}
2929
base-url: https://repos.supermodeltools.com/${{ inputs.repo }}
30-
output-dir: /tmp/arch-docs-output
30+
output-dir: /github/runner_temp/arch-docs-output
3131
env:
3232
GITHUB_REPOSITORY: ${{ inputs.repo }}
3333

@@ -43,7 +43,7 @@ jobs:
4343
REPO_NAME=$(echo "$REPO" | cut -d'/' -f2)
4444
rm -rf /tmp/central-site/site/${OWNER}/${REPO_NAME}
4545
mkdir -p /tmp/central-site/site/${OWNER}/${REPO_NAME}
46-
cp -r /tmp/arch-docs-output/. /tmp/central-site/site/${OWNER}/${REPO_NAME}/
46+
cp -r $RUNNER_TEMP/arch-docs-output/. /tmp/central-site/site/${OWNER}/${REPO_NAME}/
4747
cd /tmp/central-site
4848
git add site/${OWNER}/${REPO_NAME}/
4949
git diff --staged --quiet && echo "No changes to commit" && exit 0

0 commit comments

Comments
 (0)