Check production availability #19
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: Check production availability | |
| on: | |
| schedule: | |
| - cron: '7,22,37,52 * * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: production-availability | |
| cancel-in-progress: false | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 8 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - name: Check public website and documentation | |
| run: | | |
| for attempt in 1 2 3; do | |
| if node scripts/check-availability.mjs; then exit 0; fi | |
| if [ "$attempt" -eq 3 ]; then exit 1; fi | |
| echo "Retrying public availability checks in 20 seconds (attempt $attempt)." | |
| sleep 20 | |
| done |