diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ed12887..d722749 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -38,9 +38,9 @@ jobs: - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - # Upload entire repository - path: '.' + path: 'docs/' - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 + if: github.ref == 'refs/heads/main'