From 5720c619bd0d966ffc217e86719f64079881cc3f Mon Sep 17 00:00:00 2001 From: martyanov-av Date: Tue, 17 Oct 2023 15:13:36 +0300 Subject: [PATCH] fix: project in vars --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 81ffda2..6655563 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,8 @@ jobs: uses: diplodoc-platform/docs-build-action@v1 with: revision: "pr-${{ github.event.pull_request.number }}" - project-name: ${{ secrets.DIPLODOC_PROJECT_NAME }} - src-root: "./" + project-name: ${{ vars.DIPLODOC_PROJECT_NAME }} + src-root: "./docs" storage-bucket: ${{ secrets.DIPLODOC_STORAGE_BUCKET }} storage-endpoint: ${{ vars.DIPLODOC_STORAGE_ENDPOINT }} storage-access-key-id: ${{ secrets.DIPLODOC_ACCESS_KEY_ID }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 430e4f6..b4e2e8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,11 +13,10 @@ jobs: uses: diplodoc-platform/docs-release-action@v1 with: revision: "${{ github.sha }}" - project-name: ${{ secrets.DIPLODOC_PROJECT_NAME }} - src-root: "./" + project-name: ${{ vars.DIPLODOC_PROJECT_NAME }} + src-root: "./docs" storage-bucket: ${{ secrets.DIPLODOC_STORAGE_BUCKET }} storage-endpoint: ${{ vars.DIPLODOC_STORAGE_ENDPOINT }} storage-access-key-id: ${{ secrets.DIPLODOC_ACCESS_KEY_ID }} storage-secret-access-key: ${{ secrets.DIPLODOC_SECRET_ACCESS_KEY }} - storage-region: ${{ vars.DIPLODOC_STORAGE_REGION }} - shared-storage-bucket: "true" \ No newline at end of file + storage-region: ${{ vars.DIPLODOC_STORAGE_REGION }} \ No newline at end of file