# # deploy-pages.yml # Zyquo Cloud Web # # Author: Simon-Pierre Boucher # Mail: contact@spboucher.ai # # Builds and deploys the static bundle to GitHub Pages on every push to main. # The primary deployment remains https://www.zyquo.cloud — Pages is a public # mirror built with the /zyquo-cloud-web/ base path. # name: Deploy to GitHub Pages on: push: branches: [main] 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: 22 cache: npm - run: npm ci - run: npm run build env: VITE_BASE: /zyquo-cloud-web/ - uses: actions/upload-pages-artifact@v3 with: path: 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