diff --git a/.github/workflows/deploy-demo.yml b/.github/workflows/deploy-demo.yml deleted file mode 100644 index dcc235f..0000000 --- a/.github/workflows/deploy-demo.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Deploy demo to GitHub Pages - -on: - push: - branches: [main] - paths: - - "web/**" - - ".github/workflows/deploy-demo.yml" - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: pages - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - cache-dependency-path: web/package-lock.json - - - name: Install dependencies - working-directory: web - run: npm ci - - - name: Build (demo mode) - working-directory: web - env: - VITE_DEMO_MODE: "true" - VITE_BASE_PATH: /webspeak3/ - run: npm run build - - - uses: actions/configure-pages@v5 - - - uses: actions/upload-pages-artifact@v3 - with: - path: web/dist - - deploy: - needs: build - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - id: deployment - uses: actions/deploy-pages@v4