Skip to content

Commit

Permalink
fix: project in vars
Browse files Browse the repository at this point in the history
  • Loading branch information
martyanovandrey committed Oct 17, 2023
1 parent 052a4df commit 5720c61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
storage-region: ${{ vars.DIPLODOC_STORAGE_REGION }}

0 comments on commit 5720c61

Please sign in to comment.