chore: remove Renovate entirely #41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docs | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "docs/**" | |
| - ".github/workflows/docs.yml" | |
| workflow_dispatch: | |
| # Allow only one concurrent deployment per branch | |
| concurrency: | |
| group: pages-${{ github.ref }} | |
| cancel-in-progress: true | |
| # OpenSSF Scorecard "Token-Permissions": top-level is empty; each job | |
| # re-declares only the scopes it actually needs (build = read, deploy = pages). | |
| permissions: {} | |
| jobs: | |
| build: | |
| name: Build VitePress site | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 | |
| with: | |
| fetch-depth: 0 # required by lastUpdated | |
| - uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: pnpm | |
| # The docs site only needs the root workspace + the obfuscator package | |
| # (for VitePress + the TS types it references). Installing the sample | |
| # apps would trigger Nuxt / Next prepare scripts that depend on a | |
| # built `dist/` and slow the workflow down. | |
| - name: Install root + package dependencies only | |
| run: pnpm install --frozen-lockfile --filter "tailwindcss-obfuscator..." --filter "tailwindcss-obfuscation" | |
| - name: Build VitePress site | |
| run: pnpm docs:build | |
| - name: Upload Pages artifact | |
| uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 | |
| with: | |
| path: docs/.vitepress/dist | |
| deploy: | |
| name: Deploy to GitHub Pages | |
| needs: build | |
| runs-on: ubuntu-latest | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - id: deployment | |
| uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 |