Even lower concurrency. Still getting 429s #120
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: Build | |
| on: | |
| push: | |
| branches: [main] | |
| env: | |
| NODE_VERSION: "20.x" | |
| jobs: | |
| build: | |
| name: Build and Deploy | |
| runs-on: ubuntu-latest | |
| environment: production | |
| steps: | |
| - name: ⬇️ Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: 🤖 Use Node.js ${{ env.NODE_VERSION }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: 📥 Download deps | |
| uses: bahmutov/npm-install@v1 | |
| - name: 🏗 npm build | |
| run: npm run build | |
| - name: ✅ Validate build output | |
| run: bash scripts/validate-build.sh --skip-build | |
| - name: 🚀 Deploy to gh-pages | |
| uses: JamesIves/github-pages-deploy-action@v4.6.8 | |
| with: | |
| branch: gh-pages | |
| folder: _site |