Repository navigation
fix(ci): consolidate docs workflows #50
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: Astro Rollback Build | |
| on: | |
| pull_request: | |
| paths: | |
| - "src/**" | |
| - "public/**" | |
| - "scripts/build.mjs" | |
| - "astro.config.mjs" | |
| - "package.json" | |
| - "package-lock.json" | |
| - "tsconfig.json" | |
| - ".github/workflows/deploy.yml" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "src/**" | |
| - "public/**" | |
| - "scripts/build.mjs" | |
| - "astro.config.mjs" | |
| - "package.json" | |
| - "package-lock.json" | |
| - "tsconfig.json" | |
| - ".github/workflows/deploy.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: astro-rollback-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build Astro rollback | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run build |