diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 0bc4a6a..70b55c0 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,16 +18,15 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v4 - with: - submodules: true - fetch-depth: 0 - - uses: actions/setup-node@v4 - - run: | - make docs - - uses: peaceiris/actions-gh-pages@v4 - if: github.ref == 'refs/heads/main' - with: - keep_files: true - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public \ No newline at end of file + - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + - uses: actions/setup-node@v4 + - run: | + make docs + - uses: peaceiris/actions-gh-pages@v4 + with: + keep_files: true + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public