diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index eba340a..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,49 +0,0 @@ -name: Build documentation - -on: - push: - branches: ["master"] - workflow_dispatch: - -permissions: - id-token: write - pages: write - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - - - name: Install dependencies - run: npm ci - - - name: Build docs - run: npm run docs:build - - - name: Setup Pages - uses: actions/configure-pages@v4 - - - name: Package and upload Pages artifact - uses: actions/upload-pages-artifact@v3 - with: - path: .vitepress/dist - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - needs: build - runs-on: ubuntu-latest - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 -