diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index f2c9e97..b2785a0 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,5 +1,5 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages +# Simple workflow for deploying documentation to GitHub Pages +name: Deploy Documentation to Pages on: # Runs on pushes targeting the default branch @@ -22,22 +22,25 @@ concurrency: cancel-in-progress: false jobs: - # Single deploy job since we're just deploying + # Single deploy job for documentation deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout Repository uses: actions/checkout@v4 + - name: Setup Pages uses: actions/configure-pages@v5 - - name: Upload artifact + + - name: Upload Documentation Artifact uses: actions/upload-pages-artifact@v3 with: - # Upload entire repository - path: '.' + # Upload only the docs directory + path: 'docs' + - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v4 \ No newline at end of file