diff --git a/.github/workflows/deploy-website.yml b/.github/workflows/deploy-website.yml index 3ebecc6..a7817d9 100644 --- a/.github/workflows/deploy-website.yml +++ b/.github/workflows/deploy-website.yml @@ -1,12 +1,12 @@ name: Deploy Website -# Deploy the Vue 3 frontend to GitHub Pages. +# Deploy the static documentation site to GitHub Pages. # Triggered automatically on pushes to main, or manually via workflow_dispatch. on: push: branches: [main] paths: - - 'frontend/**' + - 'docs/website/**' - '.github/workflows/deploy-website.yml' workflow_dispatch: @@ -22,39 +22,20 @@ concurrency: jobs: build: - name: Build Frontend + name: Build Website runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - cache: 'npm' - cache-dependency-path: frontend/package-lock.json - - - name: Install dependencies - run: npm ci - working-directory: frontend - - - name: Build - run: npm run build - working-directory: frontend - env: - # Set the base URL for GitHub Pages: /repo-name/ - # Override at the repo level via a repository variable if needed. - VITE_BASE_URL: ${{ vars.VITE_BASE_URL || '/' }} - - name: Configure Pages uses: actions/configure-pages@v4 - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - path: frontend/dist + path: docs/website deploy: name: Deploy to GitHub Pages