From c0e9254046c7c2d9b559267fc3ecb71cd0e2faee Mon Sep 17 00:00:00 2001 From: Thomas Osmonson Date: Thu, 13 Aug 2020 12:20:21 -0500 Subject: [PATCH 1/2] fix: change clarity-reference filename --- .github/actions/docsgen/Dockerfile.docsgen | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docsgen/Dockerfile.docsgen b/.github/actions/docsgen/Dockerfile.docsgen index e9d83a800..5f073a658 100644 --- a/.github/actions/docsgen/Dockerfile.docsgen +++ b/.github/actions/docsgen/Dockerfile.docsgen @@ -10,7 +10,7 @@ RUN cargo build RUN mkdir /out -RUN /src/target/debug/blockstack-core docgen > /out/clarityRef.json +RUN /src/target/debug/blockstack-core docgen > /out/clarity-reference.json FROM scratch AS export-stage -COPY --from=build /out/clarityRef.json / +COPY --from=build /out/clarity-reference.json / From 3499c74e5235b5436d9c3c5ed3a0007859d6926b Mon Sep 17 00:00:00 2001 From: Thomas Osmonson Date: Thu, 13 Aug 2020 12:23:29 -0500 Subject: [PATCH 2/2] fix: update workflow --- .github/workflows/docs-pr.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-pr.yml b/.github/workflows/docs-pr.yml index 3aa58f923..05c2c6216 100644 --- a/.github/workflows/docs-pr.yml +++ b/.github/workflows/docs-pr.yml @@ -47,14 +47,14 @@ jobs: git config user.name "PR Robot" git fetch --unshallow git checkout -b $ROBOT_BRANCH - cp ../docs-output/clarityRef.json ./_data/clarityRef.json + cp ../docs-output/clarity-reference.json ./src/_data/clarity-reference.json if $(git diff --quiet --exit-code); then - echo "No clarityRef.json changes, stopping" + echo "No clarity-reference.json changes, stopping" echo "::set-output name=open_pr::0" else git remote add robot https://github.com/$ROBOT_OWNER/$ROBOT_REPO - git add _data/clarityRef.json - git commit -m "auto: update clarityRef.json from stacks-blockchain@${GITHUB_SHA}" + git add src/_data/clarity-reference.json + git commit -m "auto: update clarity-reference.json from stacks-blockchain@${GITHUB_SHA}" git push robot $ROBOT_BRANCH echo "::set-output name=open_pr::1" fi