add fallback for npm-stat requests, improve data fallback, improve lo… #2258
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: "[CODE] Deploy production website" | |
| on: | |
| push: | |
| branches: [main] | |
| paths-ignore: | |
| - .vscode | |
| - '**.md' | |
| - react-native-libraries.json | |
| - react-native-libraries.schema.json | |
| schedule: | |
| # Run every 3 hours - https://crontab.guru/#0_*/3_*_*_* | |
| - cron: '0 */3 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| environment: | |
| name: production | |
| url: https://reactnative.directory | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Use Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Deploy | |
| shell: bash | |
| run: bunx vercel --force --token "$VERCEL_TOKEN" --prod | |
| env: | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| BLOB_READ_WRITE_TOKEN: ${{ secrets.BLOB_READ_WRITE_TOKEN }} | |
| # https://spectrum.chat/zeit/now/solved-project-linking-and-ci-cd-pipelines~5e6eb62a-9d56-47ac-9e32-0d973a523787 | |
| VERCEL_ORG_ID: 'team_IsLEAhLb9cZj6y1Bud9XYmeK' | |
| VERCEL_PROJECT_ID: 'QmecQ8hTu4DUHv6js5U8L9pJ9vp54mg1bmRLWaS5RZCyt4' |