diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 6562047b18b..cfeb0f85574 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -41,15 +41,15 @@ jobs: npm run build - name: Deploy to GitHub Pages if: success() - # uses: peaceiris/actions-gh-pages@v3 - # with: - # deploy_key: ${{ secrets.ROBOT_CLICKHOUSE_SSH_KEY }} - # external_repository: ClickHouse/clickhouse-docs-content - # publish_branch: main - # publish_dir: docs - uses: JamesIves/github-pages-deploy-action@v4.3.0 + uses: peaceiris/actions-gh-pages@v3 with: - repository-name: ClickHouse/clickhouse-docs-content - token: ${{ secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN }} - branch: gh-pages - folder: docs \ No newline at end of file + deploy_key: ${{ secrets.DEPLOY_DOCS_TOKEN }} + external_repository: ClickHouse/clickhouse-docs-content + publish_branch: main + publish_dir: docs + # uses: JamesIves/github-pages-deploy-action@v4.3.0 + # with: + # repository-name: ClickHouse/clickhouse-docs-content + # token: ${{ secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN }} + # branch: gh-pages + # folder: build \ No newline at end of file