Skip to content

feat: add workflows

feat: add workflows #4

Workflow file for this run

name: Build
on:
pull_request:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
uses: diplodoc-platform/docs-build-action@v1
with:
revision: "pr-${{ github.event.pull_request.number }}"
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"