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