diff --git a/.github/workflows/deploy-doc.yml b/.github/workflows/deploy-doc.yml index a1e806c..7cd43ad 100644 --- a/.github/workflows/deploy-doc.yml +++ b/.github/workflows/deploy-doc.yml @@ -26,10 +26,12 @@ jobs: run: | source .venv/bin/activate make -C doc dirhtml - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: doc/_build/dirhtml - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + - name: Publish + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + command: pages deploy doc/_build/dirhtml --project-name=${{ secrets.CLOUDFLARE_PAGES_NAME }}