From 5addaec6b06f0822f3bfb177455e88e1ecc9ee80 Mon Sep 17 00:00:00 2001 From: RanolP Date: Sat, 27 Apr 2024 20:24:18 +0900 Subject: [PATCH] ci: only in unofficial-documentation folder --- .github/workflows/follow-up.yaml | 3 ++- .gitignore | 2 +- rust.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/follow-up.yaml b/.github/workflows/follow-up.yaml index 339d50f..98e0fa5 100644 --- a/.github/workflows/follow-up.yaml +++ b/.github/workflows/follow-up.yaml @@ -15,10 +15,11 @@ jobs: - uses: actions/download-artifact@v4 with: name: github-pages + path: unofficial-documentation repository: solvedac/unofficial-documentation github-token: ${{ secrets.PAT_FOLLOW_UP }} run-id: ${{ github.event.inputs.run-id }} - - run: tar -xf artifact.tar ./tsp-output/@typespec/openapi3/openapi.yaml + - run: tar -xf unofficial-documentation/artifact.tar ./tsp-output/@typespec/openapi3/openapi.yaml - uses: actions/setup-java@v4 with: distribution: temurin diff --git a/.gitignore b/.gitignore index 710d867..e3d66d8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ Cargo.lock unofficial-documentation -generated \ No newline at end of file +generated diff --git a/rust.yaml b/rust.yaml index f5e4452..1f5e1a1 100644 --- a/rust.yaml +++ b/rust.yaml @@ -1,4 +1,4 @@ -inputSpec: "tsp-output/@typespec/openapi3/openapi.yaml" +inputSpec: "unofficial-documentation/tsp-output/@typespec/openapi3/openapi.yaml" generatorName: "rust" outputDir: "generated" validateSpec: false